Get bulk purchase status
Changed onReturns the status of a bulk purchase, including details and link to download archive.
Request
- Base URLhttps://api.getmytg.com
- URLhttps://api.getmytg.com/v1/purchases/bulk/{purchase_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Unique purchase identifier.
Response
Response for status 200
Example response
{
"bulk_purchase_id": 123,
"total_price": {
"amount": "1.50",
"currency_code": "USD"
},
"price_per_account": {
"amount": "1.50",
"currency_code": "USD"
},
"item": {
"export_id": "550e8400-e29b-41d4-a716-446655440000",
"archive_url": "/v1/purchases/bulk/123/download",
"quantity": 10,
"created_at": "2024-11-19T08:15:00.000Z"
}
}Changes
- breaking
for the
pathrequest parameterpurchase_id, the type changed fromstringtointeger - warning
for the
pathrequest parameterpurchase_id, the max was set to9007199254740991.00 - warning
for the
pathrequest parameterpurchase_id, the min was set to1.00 - warning
added the new
EXPIREDenum value to the/response property for the response status - warning
added the new
EXPIREDenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking