Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CreateShippingMethodDTO

The shipping method to be created.

Properties

namestringRequired
The name of the shipping method.
cart_idstringRequired
The associated cart's ID.
amountBigNumberInputRequired
The amount of the shipping method.
shipping_option_idstring
The amount of the shipping method.
dataRecord<string, unknown>
The data of the shipping method.
tax_linesCreateTaxLineDTO[]
The tax lines of the shipping method.
adjustmentsCreateAdjustmentDTO[]
The adjustments of the shipping method.
Was this section helpful?