Campaigns

Calculate campaign item price

post/campaigns/{campaign_id}/calculate_price

Request

  • Base URL
    https://api.vrio.app
  • URL
    https://api.vrio.app/campaigns/{campaign_id}/calculate_price
  • Auth
    API key in header X-Api-Key

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

Changes

No recorded changes to this operation across all 2 revisions of this API.