Menu
Update custom data of the order item
Update custom data of the order item
PUT
/shops/{shopKey}/countries/{countryCode}/orders/{orderId}/items/{orderItemId}/legacy-custom-dataUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Update custom data of the order item action (under Orders).
- Fill in the fields below, then reference the result from later steps as
{{updateCustomDataOfTheOrderItem.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{updateCustomDataOfTheOrderItem.response.data.<field>}}.
{
"packageId": 0,
"price": {
"withTax": 0,
"appliedReductions": [
null
],
"absoluteVoucherReducedPrice": {
"tax": {
"vat": {
"amount": {},
"rate": {}
}
},
"withOutTax": 0,
"withTax": 0
},
"reference": {
"size": "string",
"unit": "string",
"withTax": 0
},
"tax": {
"vat": {
"amount": {},
"rate": {}
}
},
"withoutTax": 0,
"overrideWithoutTax": 0,
"overrideWithTax": 0,
"undiscountedWithOutTax": 0,
"undiscountedWithTax": 0
},
"product": {
"id": 0,
"name": "Blue Shirt",
"images": [
{
"hash": "string"
}
]
},
"status": "string",
"variant": {
"stock": {
"supplierId": 0
},
"id": 0,
"referenceKey": "my-key"
},
"id": 0,
"availableQuantity": 0,
"basketItemKey": "string",
"currency": "string",
"deliveryForecast": {
"deliverable": {
"key": "string"
},
"subsequentDelivery": {
"key": "endOfJanuary"
}
},
"legacyCustomData": null,
"lowestPriorPrice": {
"relativeDifferenceToPrice": 0,
"withTax": 0
}
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?