Skip to content

Commit bdc286c

Browse files
committed
Add fields to Get Order endpoint
1 parent ea1399b commit bdc286c

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

VTEX - Orders API.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,48 @@
474474
}
475475
}
476476
}
477+
},
478+
"customFields": {
479+
"type": "array",
480+
"description": "Array with information about the custom fields.",
481+
"items": {
482+
"type": "object",
483+
"description": "Object with information about the custom fields.",
484+
"properties": {
485+
"linkedEntity": {
486+
"type": "object",
487+
"description": "Linked entity information.",
488+
"properties": {
489+
"type": {
490+
"type": "string",
491+
"description": "Type of the linked entity such as `cart`, `item`, `address`."
492+
},
493+
"id": {
494+
"type": "string",
495+
"description": "ID of the linked entity."
496+
}
497+
}
498+
},
499+
"fields": {
500+
"type": "array",
501+
"description": "Array with information about the custom field's name and value.",
502+
"items": {
503+
"type": "object",
504+
"description": "Custom field's name and value.",
505+
"properties": {
506+
"name": {
507+
"type": "string",
508+
"description": "Name of the custom field."
509+
},
510+
"value": {
511+
"type": "string",
512+
"description": "Value of the custom field."
513+
}
514+
}
515+
}
516+
}
517+
}
518+
}
477519
}
478520
}
479521
},
@@ -2111,6 +2153,20 @@
21112153
"marketplacePaymentMethods": "CreditCard"
21122154
}
21132155
}
2156+
],
2157+
"customFields": [
2158+
{
2159+
"linkedEntity": {
2160+
"type": "item",
2161+
"id": "B2949D0A45244825B177D2F9F96DC711"
2162+
},
2163+
"fields": [
2164+
{
2165+
"name": "Cost Center",
2166+
"value": "CC3"
2167+
}
2168+
]
2169+
}
21142170
]
21152171
},
21162172
"commercialConditionData": "Commercial conditions information.",

0 commit comments

Comments
 (0)