Updates a OrderExchangeItem object

Updates a OrderExchangeItem object specified by ID

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of OrderExchangeItem to update

Body Params

OrderExchangeItem object that needs to be updated

string

Barcode of this order item

uri
required

URI of an User API object which is responsible for this order item creation

date-time

Date and time when OrderExchangeItem is created

integer
enum

ID of Exchange/Refund/Void/Comparables operation type, i.e. 'exchange return to inventory', 'void waste', 'exchange waste', etc (defined in POS items ordering menu)

Ervc Types:

  • 0 - NONE
  • 1 - EXCHANGE_RETURN_TO_INVENTORY
  • 2 - EXCHANGE_WASTE
  • 3 - RETURN_RETURN_TO_INVENTORY
  • 4 - RETURN_WASTE
  • 5 - VOID_RETURN_TO_INVENTORY
  • 6 - VOID_WASTE
  • 7 - COMP_WASTE_NOT_UPDATE_COST
  • 8 - COMP_WASTE_UPDATE_COST
  • 9 - NO_INVENTORY_ACTIONS_ON_CREATE
  • 10 - SHIP_FROM_WAREHOUSE_RETURN_TO_INVENTORY
  • 11 - WAREHOUSE_VOID
  • 12 - WAREHOUSE_COMP
  • 13 - WAREHOUSE_RETURN
string
required

Amount of the discount applied

string
required

Amount of the discount tax applied

boolean

Flag value specifying whether the discount is taxed or not, 'true' if taxed

string
required

Price of the exchanged order item

string
required

Service fee tax for this order item (defined in Products/Service fee)

string
required

Amount of service fee taxed for this order item

string
required

Amount of service fee if order item untaxed

int64

ID of the order item (unique)

uri
required

URI of the related OrderExchange API object which contains this item

uri

URI of the related OrderItem API object which contains this item

uuid

UUID of an OrderItem API object specified in the 'order_item' property (same as 'uuid' property of the OrderItem API object)

string
required

Price of the order item

string

URL to the image of this order item product

integer
required

Quantity of the product for this order item

uri

URI of this OrderExchangeItem API object

uri

URI of the related OrderItem API object which contains this item

uuid

UUID of an ReturnedItem API object specified in the 'returned_item' property (same as 'uuid' property of the ReturnedItem API object)

string
required

Amount of the tax for this order item

boolean

Flag value specifying whether tax include into the order item or not, 'true' if tax included

string
required

Rate of the tax applied for this order item

string

Name of the exchanged order item

uri
required

URI of an User API object which is responsible for this order item update

date-time

Date and time when the order item updated

Responses
200

Successful operation

400

Invalid ID supplied

404

OrderExchangeItem not found

405

Validation exception

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!