[NEWS] Numer zamówienia w historii operacji billingowych / Order number in the billing operations history
- 主要语言
- 没有语言数据
- 星标
- 244
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
描述
Dla zasobu: [GET /billing/billing-entries](https://developer.allegro.pl/documentation/#operation/getBillingEntries) udostępniliśmy dziś nowy obiekt **“order”**, dla którego w polu **“order.id”** zwrócimy numer zamówienia. Dzięki temu powiążesz opłaty i prowizje z konkretnym zamówieniem.
**Ważne!** Wartość w polu **“order.id”** zwrócimy dla wszystkich typów billingowych, w których pokazujemy numer zamówienia. Dla pozostałych nie zwrócimy obiektu **“order”**.
**Przykładowy response:**
```
…
{
“id”: “f2b843f1-8fa3-45a6-98f7-0590cd8d39d2”,
“occurredAt”: “2020-09-07T10:47:19.981Z”,
“type”: {
“id”: “SUC”,
“name”: “Prowizja od sprzedaży”
},
“offer”: {
“id”: “9608631866”,
“name”: “oferta testowa”
},
“value”: {
“amount”: “-10.10”,
“currency”: “PLN”
},
“tax”: {
“percentage”: “23”
},
“balance”: {
“amount”: “-113.53”,
“currency”: “PLN”
},
“order” : {
“id” : “726c25e0-f0f7-11ea-887c-8753d63d8e79”
}
…
}
```
Więcej informacji na temat historii operacji billingowych znajdziesz w [naszym poradniku](https://developer.allegro.pl/charges/).
---
Today in: [GET /billing/billing-entries](https://developer.allegro.pl/en/documentation/#operation/getBillingEntries), we have introduced a new object **"order"**, in which we will return the order number in the **"order.id"** field. Thanks to this change, you will associate fees and commissions with a specific order.
**Note!** We will return the value in the **"order.id"** field for all billing types in which we show the order number. For the other billing types we will not return the **"order"** object.
**Sample response:**
```
...
{
"id": "f2b843f1-8fa3-45a6-98f7-0590cd8d39d2",
"occurredAt": "2020-09-07T10:47:19.981Z",
"type": {
"id": "SUC",
"name": "Sales commission"
},
"offer": {
"id": "9608631866",
"name": "oferta testowa"
},
"value": {
"amount": "-10.10",
"currency": "PLN"
},
"tax": {
"percentage": "23"
},
"balance": {
"amount": "-113.53",
"currency": "PLN"
},
"order" : {
"id" : "726c25e0-f0f7-11ea-887c-8753d63d8e79"
}
...
}
```
You will find more information about the billing operations history in [our guide](https://developer.allegro.pl/en/charges/).
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。