FilterableShippingOptionForContextProps
A context's details used to filter the shipping option.
An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
id
string | string[] | OperatorMap<string | string[]>The IDs to filter the shipping options by.
name
string | string[] | OperatorMap<string | string[]>Filter the shipping options by their name.
shipping_profile_id
string | string[] | OperatorMap<string | string[]>Filter the shipping options by the ID of their associated shipping profile.
price_type
ShippingOptionPriceType | ShippingOptionPriceType[] | OperatorMap<ShippingOptionPriceType | ShippingOptionPriceType[]>Filter the shipping options by their price type.
service_zone
FilterableServiceZonePropsThe filters to apply on the retrieved service zones.
service_zone
FilterableServiceZonePropsshipping_option_type
FilterableShippingOptionTypePropsThe filters to apply on the retrieved shipping option types.
shipping_option_type
FilterableShippingOptionTypePropsThe filters to apply on the retrieved shipping option rules.
fulfillment_set_id
string | string[] | OperatorMap<string | string[]>The fulfillment set's ID used in the context.
fulfillment_set_type
string | string[] | OperatorMap<string | string[]>The fulfillment set's type used in the context.
address
objectThe address used in the context. It filters the shipping options based on
the geo zones of their associated service zone.
address
objectaddress.country_code
stringThe ISO 2 character country code.
address.province_code
stringThe province code.
address.city
stringThe city.
address.postal_expression
stringThe postal expression
context
Record<string, any>The shipping option's context to filter directly.
Was this section helpful?