GET
/
purchases
/
{purchase_id}
{
  "purchase_id": "01J51S0JYV6N7K1030CV1ZKSCA",
  "date": "2024-01-01T00:00:00Z",
  "total": "100.00",
  "tax": "10.00",
  "subtotal": "90.00",
  "items": [
    {
      "description": "32oz bottle of water",
      "item_id": "01J51S0JYV6N7K1030CV1ZKSCA",
      "price": "1.00",
      "quantity": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

A connection-specific token with access scope

Headers

x-api-key
string
required

The client's API key secret value

Path Parameters

purchase_id
string
required

Response

200
application/json
Successful Response
purchase_id
string
required

The unique identifier for the purchase

Example:

"01J51S0JYV6N7K1030CV1ZKSCA"

date
string
required

The date and time of the purchase

Example:

"2024-01-01T00:00:00Z"

total
string
required

The total amount of the purchase

Example:

"100.00"

tax
string
required

The tax amount of the purchase

Example:

"10.00"

subtotal
string
required

The subtotal amount of the purchase

Example:

"90.00"

items
object[]
required

The list of items in the purchase

Example:
[
  {
    "description": "32oz bottle of water",
    "item_id": "01J51S0JYV6N7K1030CV1ZKSCA",
    "price": "1.00",
    "quantity": 1
  }
]