Skip to main content

ShippingMethod Object

Description

Shipping method option. Static policy methods carry name and total only; methods quoted live by the shipping service (Sendcloud/Shippo) also fill the carrier fields.

Declaration

type ShippingMethod {
name: String
total: Float
rateId: String
provider: String
carrier: String
service: String
currency: String
estimatedDays: Int
servicePointRequired: Boolean
contractId: Int
}

Fields

NameTypeDescription
nameStringName of the shipping method (e.g., "Standard Shipping", "Express Delivery").
totalFloatTotal cost for this shipping method.
rateIdStringProvider rate identifier — Shippo rate object id or Sendcloud shipping option code.
providerStringAggregator the quote came from. Valid values are "sendcloud" or "shippo".
carrierStringCarrier name (e.g. "PostNL", "Colissimo").
serviceStringService level name (e.g. "Standard", "Express").
currencyStringISO 4217 currency of the quoted price.
estimatedDaysIntEstimated delivery time in days.
servicePointRequiredBooleanWhether this option requires delivery to a service point.
contractIdIntSendcloud contract identifier required when purchasing the label.