DtoShippingLine

'An array of objects, each of which details a shipping method used. Each object has the following properties:'

id
number

A unique identifier for the shipping line.

Example:
3908143841505
carrier_identifier
string

A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.

Example:
2ef11aec7f5303b57bc02decab250d6d
code
string

A reference to the shipping method.

Example:
NEXT DAY
delivery_category
string

The general classification of the delivery method.

Example:
null
discounted_price
number

The price of the shipping method after line-level discounts have been applied. Doesn't reflect cart-level or order-level discounts.

Example:
614
discounted_price_set
object

The price of the shipping method in both shop and presentment currencies after line-level discounts have been applied.

amount
number

Decimal money amount.

Example:
100
currency_code
string

Currency of the money.

Example:
CLP
phone
string

The phone number at the shipping address.

Example:
999777004
price
number

The price of this shipping method in the shop currency. Can't be negative.

Example:
614
price_set
object

The price of the shipping method in shop and presentment currencies.

amount
number

Decimal money amount.

Example:
100
currency_code
string

Currency of the money.

Example:
CLP
requested_fulfillment_service_id
string

A reference to the fulfillment service that is being requested for the shipping method. Present if the shipping method requires processing by a third party fulfillment service; null otherwise.

Example:
third_party_fulfillment_service_id
source
string

The source of the shipping method.

Example:
Chazki
title
string

The title of the shipping method.

Example:
CHAZKI - NEXT DAY
tax_lines
array[object]

A list of tax line objects, each of which details a tax applicable to this shipping line.

price
number

The amount of tax to be charged in the shop currency.

Example:
19
rate
number

The rate of tax to be applied.

Example:
0.19
title
string

The name of the tax.

Example:
VAT
price_set
object

The current subtotal price of the order in shop and presentment currencies. The amount values associated with this field reflect order edits, returns, and refunds.

channel_liable
boolean

Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for the tax line.

Example:
false
discount_allocations
array[object]

The discounts that have been allocated to the shipping line.

amount
string

The discount amount allocated to the line in the shop currency.

Example:
5
discount_application_index
number

The index of the associated discount application in the order's discount_applications list.

Example:
2
amount_set
object

The discount amount allocated to the line item in shop and presentment currencies.

Example
1
{
2
"id": 3908143841505,
3
"carrier_identifier": "2ef11aec7f5303b57bc02decab250d6d",
4
"code": "NEXT DAY",
5
"delivery_category": null,
6
"discounted_price": 614,
7
"discounted_price_set": {
8
"amount": "100",
9
"currency_code": "CLP"
10
},
11
"phone": "999777004",
12
"price": 614,
13
"price_set": {
14
"amount": "100",
15
"currency_code": "CLP"
16
},
17
"requested_fulfillment_service_id": "third_party_fulfillment_service_id",
18
"source": "Chazki",
19
"title": "CHAZKI - NEXT DAY",
20
"tax_lines": [
21
{
22
"price": 19,
23
"rate": 0.19,
24
"title": "VAT",
25
"price_set": {
26
"shop_money": {},
27
"presentment_money": {}
28
},
29
"channel_liable": false
30
}
31
],
32
"discount_allocations": [
33
{
34
"amount": 5,
35
"discount_application_index": 2,
36
"amount_set": {}
37
}
38
]
39
}