3.1.3 Получение накладной
curl --location 'https://halykmarket.kz/gw/merchant/public/order/v1
?orderNumber=1111111111-1' \
--header 'Authorization: Bearer ваш токен' \
curl --location 'https://halykmarket.kz/gw/merchant/public/order/v1
?orderNumber=1111111111-1' \
--header 'Authorization: Bearer ваш токен' \
{
"data": [
{
"type": "orders",
"id": "11111111",
"attributes": {
"code": "1111111111-1",
"totalPrice": 21,
"deliveryMode": "PHYSICAL_PICKUP",
"deliveryType": "PICKUP",
"deliveryAddress": {
"streetName": "Название улицы",
"streetNumber": "163",
"town": "Almaty",
"district": null,
"building": "1",
"formattedAddress": "Almaty, Название улицы, 163, 1"
},
"paymentMode": "EPAY",
"creditTerm": 0,
"state": "NEW",
"creationDate": 1732861447391,
"status": "WAITING_COURIER",
"deliveryCost": 0.00,
"customer": {
"firstName": "ФАМИЛИЯ",
"lastName": "ИМЯ",
"cellPhone": "11111111111",
"iin": "111111111111"
},
"providerType": "INTERNAL",
"subTotal": 1337.00,
"addressLetterPath": ссылка на накладную,
"trackNumber": null,
"deliveryServiceName": null,
"trackUrl": null,
"cancellationReason": null
},
"relationships": {
"entries": {
"links": {
"self": "/api.halykmarket.com/api/merchant/v1/orders/11111111/relationships/entries",
"related": "/api.halykmarket.com/api/merchant/v1/orders/11111111/entries"
},
"data": [
{
"type": "orderentries",
"id": "11111111"
}
]
}
},
"links": {
"self": "/api.halykmarket.com/api/merchant/v1/orders/11111111"
}
}
],
"pageCount": 1,
"totalCount": 1,
"size": 20,
"number": 0
}