Product Change

View as Markdown
Use this request to change the product that the order item is tied to.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

item_idstringRequired
Public ID of the order item you want to change

Request

This endpoint expects an object.
productstringOptional
The product ID you want to change this order item to

Response

200
public_idstringOptional
orderstringOptional
offerstringOptional
subscriptionstringOptional
subscription_componentstringOptional
productstringOptional
product_attributeanyOptional
quantityintegerOptionalDefaults to 0
pricestringOptional
extra_coststringOptional
total_pricestringOptional
one_timebooleanOptionalDefaults to true
order_updatedstringOptional
componentslist of stringsOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error