Object with information about the new replacing items. If instead of an order `replace` you wish to `add` items, you will use the same schema naming the object `add` instead of `to`. For a complete example, see the description at the top of the page.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ToV2",
"title": "ToV2",
"required": [
"items"
],
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Item1V2"
},
"description": "Array with information about the replacing item."
},
"shippingData": {
"$ref": "#/components/schemas/ShippingDataV2"
}
},
"description": "Object with information about the new replacing items. If instead of an order `replace` you wish to `add` items, you will use the same schema naming the object `add` instead of `to`. For a complete example, see the description at the top of the page.",
"example": {
"items": [
{
"id": "1",
"quantity": 1,
"measurementUnit": "kg",
"unitMultiplier": 1
}
],
"shippingData": {
"logisticsInfo": [
{
"itemIndex": 0,
"slaId": "Normal",
"deliveryChannel": "delivery",
"addressId": "12334048475146857",
"price": 1000
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.