If the carrier is not registered, the complete tracking url can be provided.
The tracking url of a carrier. This information is unused for registered carriers (because computed automatically). This information is optional for unregistered carriers.
curl -i -X PUT \
'https://your-instance.mirakl.net/api/orders/{order_id}/tracking?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"carrier_code": "string",
"carrier_name": "string",
"carrier_standard_code": "string",
"carrier_url": "string",
"tracking_number": "string"
}'
curl -i -X PUT \
'https://your-instance.mirakl.net/api/orders/{order_id}/ship?shop_id=0'
Please note: If the taxes are not specified, the prices with mode TAX_EXCLUDED and with mode TAX_INCLUDED will return the same amounts.
Possible values:
TAX_EXCLUDED
: the price fields (price, unit price, shipping price and order total prices) do not include taxes.TAX_INCLUDED
: the price fields include the tax amounts. curl -i -X PUT \
'https://your-instance.mirakl.net/api/orders/refund?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"order_tax_mode": "string",
"refunds": [
{
"amount": 0,
"currency_iso_code": "string",
"excluded_from_shipment": true,
"fees": [
{
"amount": 0,
"code": "string"
}
],
"order_line_id": "string",
"quantity": 0,
"reason_code": "string",
"shipping_amount": 0,
"shipping_taxes": [
{
"amount": 0,
"code": "string"
}
],
"taxes": [
{
"amount": 0,
"code": "string"
}
]
}
]
}'
OK
Please note: In case there is no tax, the prices will show the same amount in TAX_EXCLUDED and TAX_INCLUDED mode. The tax mode is only useful if taxes are specified in the refund.
Possible values:
TAX_EXCLUDED
: the price fields (amount, shipping amount) are expressed without tax (taxes should be added to these prices in order to get the full amount including taxes).TAX_INCLUDED
: the price fields include the tax amount. { "order_tax_mode": "string", "refunds": [ { … } ] }