v1

latestOpenAPI 3.0.12026-07-2412502.6 MB
Campaigns

Calculate campaign item price

post/campaigns/{campaign_id}/calculate_price

Request body

offer_idstring required

Offer ID to calculate price on.

item_idstring

Item ID to be used with the Offer ID. Required for dynamic offers.

order_offer_quantityinteger

The quantity of the offer to calculate the price.

discount_codestring

Discount code to apply to the offer.

Response

OK

offer_idinteger
offer_namestring
offer_imagestring nullable
item_idinteger nullable
item_namestring nullable
items_option_variation_namestring nullable
order_offer_quantityinteger
offer_pricestring
subtotalstring
totalstring
discount_labelstring nullable