Update Coupons

Updates the associated initial or recurring coupon and discounts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Body Definitions

NameTypeDescriptionExample
public_idstringUnique Offer Profile ID"e3e9ac44a24f15e485b0bc764e107cf3"
recurring_couponobjectRecurring Coupon object{} or null
initial_couponobjectInitial Coupon object{} or null

Response Body Definitions (Recurring Coupon Object)

NameTypeDescriptionExample
public_idstringUnique Recurring Coupon ID"ff48e9fdc8eb4d79abd7c8c573523d25"
namestringRecurring Coupon name"Demo Store Incentives"
codestringRecurring Coupon code"demo_store"
discountsobjectDiscounts object{} or null

Response Body Definitions (Initial Coupon Object)

NameTypeDescriptionExample
public_idstringUnique Recurring Coupon ID"ff48e9fdc8eb4d79abd7c8c573523d25"
namestringRecurring Coupon name"Demo Store Incentives"
codestringRecurring Coupon code"demo_store"
discountsobjectDiscounts object{} or null

Response Body Definitions (Discounts Object)

NameTypeDescriptionExample
public_idstringUnique Discount ID"c67dec11aedb4885aa9a58c3f89de746"
nameintegerDiscount name"Free shipping on orders over $50"
objectinteger1
typestring2
valuestringDiscount value"100"
threshold_fieldinteger3
threshold_valuestring"50"
Path Params
string
required

Unique Offer Profile ID

Body Params
string
required

Unique Offer Profile ID

recurring_coupon
object

Recurring Coupon

initial coupon
object

Initial Coupon

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json