Orderreports: listtransactions

Requires authorization

Retrieves a list of transactions for a disbursement from your Merchant Center account. Try it now.

Request

HTTP request

GET https://www.googleapis.com/content/v2/merchantId/orderreports/disbursements/disbursementId/transactions

Parameters

Parameter name Value Description
Path parameters
disbursementId string The Google-provided ID of the disbursement (found in Wallet).
merchantId unsigned long The ID of the account that manages the order. This cannot be a multi-client account.
Required query parameters
transactionStartDate string The first date in which transaction occurred. In ISO 8601 format.
Optional query parameters
maxResults unsigned integer The maximum number of disbursements to return in the response, used for paging.
pageToken string The token returned by the previous request.
transactionEndDate string The last date in which transaction occurred. In ISO 8601 format. Default: current date.

Authorization

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

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

Request body

Do not supply a request body with this method.

Response

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

{
  "kind": "content#orderreportsListTransactionsResponse",
  "nextPageToken": string,
  "transactions": [
    {
      "merchantId": unsigned long,
      "disbursementId": string,
      "disbursementDate": string,
      "disbursementCreationDate": string,
      "disbursementAmount": {
        "value": string,
        "currency": string
      },
      "orderId": string,
      "merchantOrderId": string,
      "transactionDate": string,
      "productAmount": {
        "pretax": {
          "value": string,
          "currency": string
        },
        "tax": {
          "value": string,
          "currency": string
        }
      }
    }
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#orderreportsListTransactionsResponse".
nextPageToken string The token for the retrieval of the next page of transactions.
transactions[] list The list of transactions.
transactions[].merchantId unsigned long The ID of the managing account.
transactions[].disbursementId string The ID of the disbursement.
transactions[].disbursementDate string The date the disbursement was initiated, in ISO 8601 format.
transactions[].disbursementCreationDate string The date the disbursement was created, in ISO 8601 format.
transactions[].disbursementAmount nested object The disbursement amount.
transactions[].disbursementAmount.value string The price represented as a number. writable
transactions[].disbursementAmount.currency string The currency of the price. writable
transactions[].orderId string The id of the order.
transactions[].merchantOrderId string Merchant-provided id of the order.
transactions[].transactionDate string The date of the transaction, in ISO 8601 format.
transactions[].productAmount nested object Total amount for the items.
transactions[].productAmount.pretax nested object [required] Value before taxes.
transactions[].productAmount.pretax.value string The price represented as a number. writable
transactions[].productAmount.pretax.currency string The currency of the price. writable
transactions[].productAmount.tax nested object [required] Tax value.
transactions[].productAmount.tax.value string The price represented as a number. writable
transactions[].productAmount.tax.currency string The currency of the price. writable

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Enviar comentarios sobre…

Content API for Shopping