You are here:
Submit Order Provisionally Accepted Example for Order Management Integration Layer
A Submit Order Provisionally Accepted response typically occurs when a supplemental order is submitted to an order management system and that system needs time to determine if the changes requested in a supplemental order can be fulfilled. The response may or may not contain a fields section, as shown in the following examples.
With fields:
[
// Supplemental Order Item accepted
{
"orderItemId": "8021U000000hv6T",
"state": "Provisionally Accepted",
"fields" :
{
"CustomName__c": "IphoneX125",
"Memory__c": "125GB"
}
},
// Supplemental Order accepted
{
"orderId": "8011U000000Tq5l",
"state": "Provisionally Accepted",
"fields" :
{
"DueDate__c": "2020-08-28T02:42:19.861Z",
"ThorJeopardyStatus__c":"Green"
}
}
]
Without fields:
[
// Supplemental Order Item accepted
{
"orderItemId": "8021U000000hv6T",
"state": "Provisionally Accepted",
},
// Supplemental Order accepted
{
"orderId": "8011U000000Tq5l",
"state": "Provisionally Accepted",
}
]
