BaseCartShippingMethod

The cart shipping method details.

Properties#

idstring
The ID of the shipping method.
cart_idstring
The ID of the associated cart.
namestring
The name of the shipping method.
amountnumber
The price of the shipping method.
is_tax_inclusiveboolean
Whether the shipping method price is tax inclusive.
created_atstring | Date
When the shipping method was created.
updated_atstring | Date
When the shipping method was updated.
original_totalnumber
The original total of the cart shipping method.
original_subtotalnumber
The original subtotal of the cart shipping method.
original_tax_totalnumber
The original tax total of the cart shipping method.
totalnumber
The total of the cart shipping method.
subtotalnumber
The subtotal of the cart shipping method.
tax_totalnumber
The tax total of the cart shipping method.
discount_totalnumber
The discount total of the cart shipping method.
discount_tax_totalnumber
The discount tax total of the cart shipping method.
descriptionstringOptional
The description of the shipping method.
shipping_option_idstringOptional
The ID of the shipping option the method was created from.
dataRecord<string, unknown>Optional
Additional data needed for fulfillment.
metadatanull | Record<string, unknown>Optional
Holds custom data in key-value pairs.
tax_linesBaseShippingMethodTaxLine[]Optional
The associated tax lines.
adjustmentsBaseShippingMethodAdjustment[]Optional
The associated adjustments.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break