OrderState
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated: Use V3 Proto instead. Current order state.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis JSON representation describes the current order state and is deprecated, with a recommendation to use V3 Proto instead.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estate\u003c/code\u003e field, a required string, indicates the order's current status, such as created, rejected, confirmed, cancelled, in transit, returned, fulfilled, or change requested.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elabel\u003c/code\u003e field, also a required string, provides a user-friendly representation of the order state for display purposes.\u003c/p\u003e\n"]]],[],null,["# OrderState\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Current order state.\n\n| JSON representation ||\n|----------------------------------------------|---|\n| ``` { \"state\": string, \"label\": string } ``` |\n\n| Fields ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `state` | `string` state can be one of the following values: `CREATED`: Order was created at integrator's system. `REJECTED`: Order was rejected by integrator. `CONFIRMED`: Order was confirmed by the integrator and is active. `CANCELLED`: User cancelled the order. `IN_TRANSIT`: Order is being delivered. `RETURNED`: User did a return. `FULFILLED`: User received what was ordered. `CHANGE_REQUESTED`: User has requested a change to the order, and the integrator is processing this change. The order should be moved to another state after the request is handled. Required. |\n| `label` | `string` The user-visible string for the state. Required. |"]]