This object is in archive! 

API fields not working

Alex L. shared this question 8 years ago
Answered

Hello again,


the guests field on the API apparently is not workiing and the coupon code field. I have this comment from the developer:


checkout field “guests” not working with api


Comment: We have added code as per api to add guests. But it doesn't respond as specified key. Please add ticket for the issue of not saving guests field via api, or provide us your credentials so that we can contact to api support.


checkout field “coupon code” not working with IO

Comment:

Inflatable office doesn't provide api to access Coupon code. So you need to add coupon code manually at location:


http://funcity.staging.wpengine.com/wp-admin/edit.php?post_type=shop_coupon

Comments (1)

photo
1

I have fixed guests.


I tested coupon_code and it worked. You must have the coupon created in IO and they must meet the requirements in order for it to work right. Also:


coupon_code when recalculate is 0, you must also send cpdiscount with amount of coupon discount, otherwise it will be auto-calculated based on the promotion. Coupon must be setup in Settings->Promotions.

Replies have been locked on this page!