GET
/platform/ambassadors/{id}/orders
curl \
--request GET 'https://domain.tld/api/v2/platform/ambassadors/{id}/orders' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"current_page": 42,
"data": [
{
"products": [
{
"order_details": {
"id_order": 42,
"id_product": 42,
"quantity": 42,
"unit_price": 42.0,
"sku": "string",
"currency": "string",
"total_price": 42
}
}
],
"total_products_quantity": 42
}
],
"first_page_url": "string",
"from": 42,
"last_page": 42,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 42,
"prev_page_url": "string",
"to": 42,
"total": 42
}