Skip to main content

shipping_method

Information about the shipping method for an order.

Properties

Anchor to
discount_allocations

The discount allocations that apply to the shipping method.

The handle of the shipping method.

Note

The price of the shipping method is appended to handle.

The ID of the shipping method.

Anchor to
original_price

The price of the shipping method in the currency's subunit, before discounts have been applied.

The value is output in the customer's local (presentment) currency.

For currencies without subunits, such as JPY and KRW, tenths and hundredths of a unit are appended. For example, 1000 Japanese yen is output as 100000.

Tip

Use money filters to output a formatted price.

Anchor to
price_with_discounts

The price of the shipping method in the currency's subunit, after discounts have been applied, including order level discounts.

The value is output in the customer's local (presentment) currency.

For currencies without subunits, such as JPY and KRW, tenths and hundredths of a unit are appended. For example, 1000 Japanese yen is output as 100000.

Tip

Use money filters to output a formatted price.

Anchor to
tax_lines
array of tax_line

The tax lines for the shipping method.

The title of the shipping method.

In most contexts, the shipping method title appears in the customer's preferred language. However, in the context of an order, the shipping method title appears in the language that the customer checked out in.

Deprecated Properties

Anchor to
price
Deprecated

The price of the shipping method in the currency's subunit, after discounts have been applied.

The value is output in the customer's local (presentment) currency.

For currencies without subunits, such as JPY and KRW, tenths and hundredths of a unit are appended. For example, 1000 Japanese yen is output as 100000.

Tip

Use money filters to output a formatted price.

Deprecated

Deprecated because the price did not include order level discounts.

The shipping_line.price property has been replaced by shipping_line.price_with_discounts.

{
"handle": "shopify-Standard-0.00",
"id": "shopify-Standard-0.00",
"original_price": "0.00",
"price": "0.00",
"price_with_discounts": "0.00",
"tax_lines": [],
"title": "Standard"
}
Was this section helpful?