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_idstring
orderstring
offerstring
subscriptionstring
subscription_componentstring
productstring
product_attributeany
quantityintegerDefaults to 0
pricestring
extra_coststring
total_pricestring
one_timebooleanDefaults to true
order_updatedstring
componentslist of strings

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error