Method: orderreports.listtransactions

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

HTTP request

GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions

Path parameters

Parameters
merchantId

string

The ID of the account that manages the order. This cannot be a multi-client account.

disbursementId

string

The Google-provided ID of the disbursement (found in Wallet).

Query parameters

Parameters
maxResults

integer (uint32 format)

The maximum number of disbursements to return in the response, used for paging.

pageToken

string

The token returned by the previous request.

transactionStartDate

string

The first date in which transaction occurred. In ISO 8601 format.

transactionEndDate

string

The last date in which transaction occurred. In ISO 8601 format. Default: current date.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "nextPageToken": string,
  "transactions": [
    {
      object (OrderReportTransaction)
    }
  ],
  "kind": string
}
Fields
nextPageToken

string

The token for the retrieval of the next page of transactions.

transactions[]

object (OrderReportTransaction)

The list of transactions.

kind

string

Identifies what kind of resource this is. Value: the fixed string "content#orderreportsListTransactionsResponse".

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.

OrderReportTransaction

JSON representation
{
  "merchantId": string,
  "disbursementId": string,
  "disbursementDate": string,
  "disbursementCreationDate": string,
  "disbursementAmount": {
    object (Price)
  },
  "orderId": string,
  "merchantOrderId": string,
  "transactionDate": string,
  "productAmount": {
    object (ProductAmount)
  }
}
Fields
merchantId

string

The ID of the managing account.

disbursementId

string

The ID of the disbursement.

disbursementDate

string

The date the disbursement was initiated, in ISO 8601 format.

disbursementCreationDate

string

The date the disbursement was created, in ISO 8601 format.

disbursementAmount

object (Price)

The disbursement amount.

orderId

string

The ID of the order.

merchantOrderId

string

Merchant-provided ID of the order.

transactionDate

string

The date of the transaction, in ISO 8601 format.

productAmount

object (ProductAmount)

Total amount for the items.

ProductAmount

JSON representation
{
  "priceAmount": {
    object (Price)
  },
  "taxAmount": {
    object (Price)
  },
  "remittedTaxAmount": {
    object (Price)
  }
}
Fields
priceAmount

object (Price)

The pre-tax or post-tax price depending on the location of the order.

taxAmount

object (Price)

Tax value.

remittedTaxAmount

object (Price)

Remitted tax value.