Loading...
Was this page helpful?
This documentation provides a reference to the upsertShippingOptionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates or updates shipping options.
UpsertShippingOptionsStepInput
UpsertShippingOptionsStepInputUpsertShippingOptionsStepInput
Omit<CreateShippingOptionsWorkflowInput | UpdateShippingOptionsWorkflowInput, "prices">[]ShippingOptionDTO[]
ShippingOptionDTO[]id
stringname
stringprice_type
ShippingOptionPriceTypeservice_zone_id
stringshipping_profile_id
stringprovider_id
stringshipping_option_type_id
null | stringdata
null | Record<string, unknown>metadata
null | Record<string, unknown>service_zone
ServiceZoneDTOshipping_profile
ShippingProfileDTOfulfillment_provider
FulfillmentProviderDTOrules
ShippingOptionRuleDTO[]fulfillments
FulfillmentDTO[]created_at
Dateupdated_at
Datedeleted_at
null | Date