Update to an order.
JSON representation | |
---|---|
{ "type": enum ( |
Fields | |
---|---|
type |
Deprecated: Use OrderUpdate.update_mask instead. If type = SNAPSHOT, OrderUpdate.order should be the entire order. If type = ORDER_STATUS, this is the order level status change. Only order.last_update_time and this vertical status are picked up. Note: type.ORDER_STATUS only supports PurcahaseOrderExtension status updates and there is no plan to extend this support. Instead, we recommend using updateMask as it is more generic, extensible and can be used for all verticals. |
order |
|
updateMask |
Note: There are following consideration/recommendations for following special fields: 1. order.last_update_time will always be updated as part of the update request. 2. order.create_time, order.google_order_id and order.merchant_order_id will be ignored if provided as part of the updateMask. A comma-separated list of fully qualified names of fields. Example: |
userNotification |
If specified, displays a notification to the user with the specified title and text. Specifying a notification is a suggestion to notify and is not guaranteed to result in a notification. |
reason |
Reason for the change/update. |
UserNotification
Optional user notification to display as part of the Order update.
JSON representation | |
---|---|
{ "title": string, "text": string } |
Fields | |
---|---|
title |
The title for the user notification. Max allowed length is 30 chars. |
text |
The contents of the notification. Max allowed length is 100 chars. |