status
Each JSON object returned by a shopping function has an embedded status object that provides business logic validation of the web store order. The caller of a shopping function, in addition to checking the request status, should also check the status object to determine whether the object can be submitted to the backend and whether there are messages to display.
Field Name |
Field Type |
Description |
In Get Functions? |
In Set Functions? |
---|---|---|---|---|
code |
string |
Code of the status Following values are supported:
|
|
|
fieldstatuses |
array of status objects |
Status for object fields |
|
|
messages |
array of message objects |
Status messages |
|
|
reasoncode |
string |
Code of possible reason for the current status |
|
|