Orders: acknowledge

Requires authorization

Marks an order as acknowledged. Try it now.

We recommend acknowledging orders as soon as they are ingested into the merchant's Order Management System, such that these orders can be skipped when using the list call, by setting the acknowledged parameter to false.

Please note that doing any action on a given order other than retrieving its details (or using advancetestorder, in the Sandbox) will automatically acknowledge the order.

Request

HTTP request

POST https://www.googleapis.com/content/v2/merchantId/orders/orderId/acknowledge

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The ID of the account that manages the order. This cannot be a multi-client account.
orderId string The ID of the order.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

In the request body, supply data with the following structure:

{
  "operationId": string
}
Property name Value Description Notes
operationId string The ID of the operation. Unique across all operations for a given order.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "content#ordersAcknowledgeResponse",
  "executionStatus": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#ordersAcknowledgeResponse".
executionStatus string The status of the execution.

Acceptable values are:
  • "duplicate"
  • "executed"

Try it!

Use the APIs Explorer below to call this method on the Sandbox environment and see the response.
Alternatively, test this on live data.

Enviar comentarios sobre…

Content API for Shopping