curl --request GET \
--url https://api.kit.com/v4/purchases/{id} \
--header 'Authorization: Bearer <token>'
{
"purchase": {
"id": 1330,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
}
Authenticate API requests via an OAuth token
Returns the purchase details
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.kit.com/v4/purchases/{id} \
--header 'Authorization: Bearer <token>'
{
"purchase": {
"id": 1330,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
}
curl --request GET \
--url https://api.kit.com/v4/purchases/{id} \
--header 'Authorization: Bearer <token>'
{
"purchase": {
"id": 1330,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
}
Authenticate API requests via an OAuth token
Returns the purchase details
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.kit.com/v4/purchases/{id} \
--header 'Authorization: Bearer <token>'
{
"purchase": {
"id": 1330,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
}