Update a Promotion.
Changed onFields that are not sent keep their value, except: coupons (or the deprecated code) replaces the coupons and, when omitted, all coupons are removed; max_times_used is reset to 0 unless lasts is max_times_used or both; the condition is cleared unless buys_at_least is sent.
Request
- Base URLhttps://api.jumpseller.com/v1
- URLhttps://api.jumpseller.com/v1/promotions/{id}.json
- Auth
- HTTP basic
- or API key in query parameter login and API key in query parameter authtoken
- or OAuth 2Authorization code: https://accounts.jumpseller.com/oauth/authorizeToken URL: https://accounts.jumpseller.com/oauth/token scopes: write_promotions
Path parameters
Id of the Promotion
Request body
Response
OK
Changes
- breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
the request property
/became required - breaking
the request property
/became required - breaking
the
/request property format changed from no format todate - breaking
the
/request property format changed from no format todate - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - warning
removed the optional property
/from the response with the status - warning
added the new
activeenum value to the/response property for the response status - warning
added the new
buy_x_get_yenum value to the/response property for the response status - warning
added the new
categoriesenum value to the/response property for the response status - warning
added the new
expiredenum value to the/response property for the response status - warning
added the new
orderenum value to the/response property for the response status - warning
added the new
shippingenum value to the/response property for the response status - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new
allenum value to the request property/ - info
added the new
bothenum value to the request property/ - info
added the new
buy_x_get_yenum value to the request property/ - info
added the new
categoriesenum value to the request property/ - info
added the new
categoriesenum value to the request property/ - info
added the new
dateenum value to the request property/ - info
added the new
fixenum value to the request property/ - info
added the new
guestsenum value to the request property/ - info
added the new
loggedinenum value to the request property/ - info
added the new
max_times_usedenum value to the request property/ - info
added the new
noneenum value to the request property/ - info
added the new
noneenum value to the request property/ - info
added the new
nopurchasesenum value to the request property/ - info
added the new
not_in_categoriesenum value to the request property/ - info
added the new
orderenum value to the request property/ - info
added the new
percentageenum value to the request property/ - info
added the new
priceenum value to the request property/ - info
added the new
qtyenum value to the request property/ - info
added the new
shippingenum value to the request property/ - info
added the new
single_itemenum value to the request property/ - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking