Defines the fields that are included in requests to the UpdateOrder endpoint.
UpdateOrderRequest
Name | Type | Tags | Description |
---|---|---|---|
order |
Order | undefined |
Optional | Contains all information related to a single order to process with Square, including line items that specify the products to purchase. Order objects alsoinclude information about any associated tenders, refunds, and returns. All Connect V2 Transactions have all been converted to Orders including all associated itemization data. |
fieldsToClear |
string[] | undefined |
Optional | The dot notation paths fields to clear. For example, line_items[uid].note .For more information, see Deleting fields. |
idempotencyKey |
string | undefined |
Optional | A value you specify that uniquely identifies this update request. If you are unsure whether a particular update was applied to an order successfully, you can reattempt it with the same idempotency key without worrying about creating duplicate updates to the order. The latest order version is returned. For more information, see Idempotency. Constraints: Maximum Length: 192 |
{
"order": null,
"fields_to_clear": null,
"idempotency_key": null
}