Retrieves a specified order.
Successful order request.
Order not found. Make sure the project_id
and the order_id
are correct.
curl -i -X GET \ 'https://store.xsolla.com/api/v2/project/{project_id}/distribution_hub/order/{order_id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "order_id": 1,
- "status": "paid",
- "content": {
- "price": {
- "amount": "30",
- "amount_without_discount": "30",
- "currency": "USD"
}, - "is_free": "false",
- "items": [
- {
- "sku": "some_sku",
- "quantity": 1,
- "is_free": false,
- "price": {
- "amount": "30",
- "amount_without_discount": "30",
- "currency": "USD"
}
}
]
}
}