Description
Topic: Shipping Providers
Fields
auspost_options: AuspostOptionsCreate
canadapost_options: CanadapostOptionsCreate
Currency code for shipping provider to use
Example: "USD"
delivery_date_guaranteed: Boolean
Whether delivery date is guaranteed or not (fixed providers)
Example: true
Maximum days it would take to deliver a package (fixed providers)
Example: 5
Valid when: delivery_days_max is a non-negative integer
Minimum days it would take to deliver a package (fixed providers)
Example: 2
Valid when: delivery_days_min is a non-negative integer
Description text visible to the customer
Example: "TODO"
Valid when: description's length doesn't exceed 4096 characters
fedex_options: FedexOptionsCreate
The maximum amount of time the inventory location will take to fulfill the order using this shipping provider
Example: 5
Valid when: lead_time_hours_max is a non-negative integer
The minimum amount of time the inventory location will take to fulfill the order using this shipping provider
Example: 2
Valid when: lead_time_hours_min is a non-negative integer
Name of the shipping provider
Example: "Fixed 20$"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
Shipping rate for fixed providers
Example: 2000
Valid when: rate is a non-negative integer
For non-fixed shipping provider types, fixed amount to add on top of the rate
Example: 500
Valid when: surcharge_fixed is a non-negative integer
For non-fixed shipping provider types, percentage to add on top of the rate
Example: 1.0
Valid when: surcharge_percentage is valid percentage, i.e.: 0 ≤ surcharge_percentage ≤ 100
Whether shipping provider test mode is enabled
Example: false
Is it allowed to use this shipping provider for tracking requests?
Example: true
type: ShippingProviderType!
Type of the shipping provider
ups_options: UPSOptionsCreate
usps_options: USPSOptionsCreate
whitelist: [ShippingProviderWhitelistCreate!]
Shipping rate whilelist for non-fixed providers
Used By
Mutations
Preview (typescript)
Loading module