d
Topic
Posts:
3
about 1 month ago

Api coupon creation

Hello

Coupon created via API. But it is not working and I cannot find it in the admin panel.
See code below. Maybe I miss something?

[0] => Array ( [id] => 4134117971 [valuetype] => fixedamount [value] => -5.0 [customerselection] => all [targettype] => lineitem [targetselection] => all [allocationmethod] => across [oncepercustomer] => 1 [usagelimit] => 1 [startsat] => 2017-09-06T20:00:00-04:00 [endsat] => [createdat] => 2017-09-07T09:35:03-04:00 [updatedat] => 2017-09-07T09:35:03-04:00 [entitledproductids] => Array ( )

               [entitled_variant_ids] => Array
                   (
                   )

               [entitled_collection_ids] => Array
                   (
                   )

               [entitled_country_ids] => Array
                   (
                   )

               [prerequisite_saved_search_ids] => Array
                   (
                   )

               [prerequisite_subtotal_range] =>
               [prerequisite_shipping_price_range] =>
               [title] => 9UXG8L48FP
           )

 

i
Replies
Posts:
3
about 1 month ago

No need. I found the answer.