ShippingOption
A Shipping Option represents a way in which an Order or Return can be shipped. Shipping Options have an associated Fulfillment Provider that will be used when the fulfillment of an Order is initiated. Shipping Options themselves cannot be added to Carts, but serve as a template for Shipping Methods. This distinction makes it possible to customize individual Shipping Methods with additional information.
Constructors
constructor
**new ShippingOption**()
A Shipping Option represents a way in which an Order or Return can be shipped. Shipping Options have an associated Fulfillment Provider that will be used when the fulfillment of an Order is initiated. Shipping Options themselves cannot be added to Carts, but serve as a template for Shipping Methods. This distinction makes it possible to customize individual Shipping Methods with additional information.
Properties
admin_onlybooleanRequiredDefault: false
amountnull | numberRequiredflat\_rate.created_atDateRequireddataRecord<string, unknown>Requireddeleted_atnull | DateRequiredidstringRequiredincludes_taxbooleanRequiredDefault: false
is_returnbooleanRequiredDefault: false
metadataRecord<string, unknown>RequirednamestringRequiredflat\_rate for fixed prices or calculated if the Fulfillment Provider can provide price calulations.profile_idstringRequiredprovider_idstringRequiredregion_idstringRequiredupdated_atDateRequiredMethods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoid