Update Shipping Term
Beta/v1/operations/shipping-terms/{id}Idempotent with Idempotency-Key header. Learn more
Partially updates an account-owned shipping term. Default shipping terms cannot be updated.
idstringShipping term ID.
include[]optional arrayenumValues:ownerowner.accountflat_rate.unitSub-objects to expand in the response. When omitted, sub-objects are returned as null.
nameoptional stringDisplay name.
typeoptional stringenumValues:free_freightflat_rate_freightcarrier_rate_freightShipping term type.
flat_rateoptional objectnullableFlat rate. Send null to clear.
valuestring (decimal)The decimal value.
unit_idstringThe unit ID for the value.
minimum_order_valueoptional objectnullableMinimum order value for free shipping. Send null to clear.
valuestring (decimal)The decimal value.
unit_idstringThe unit ID for the value.
free_shipping_service_level_idsoptional array of stringnullableService level IDs that qualify for free shipping. Send null to clear.
idstringShipping term ID.
objectstringenumValues:shipping_termResource type identifier.
namestringDisplay name.
typestringenumValues:free_freightflat_rate_freightcarrier_rate_freightShipping term type.
ownerobjectExpandablenullableOwner.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountThe owner type: "system" for platform defaults, "account" for account-owned resources.
accountobjectExpandablenullableThe account that owns this resource. null if the object is system-owned.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringDisplay name.
default_billing_addressobjectnullableDefault billing address.
null in this endpoint.default_shipping_addressobjectnullableDefault shipping address.
null in this endpoint.brandingobjectnullableBranding configuration.
null in this endpoint.portalobjectnullablePortal configuration.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
flat_rateobjectnullableFlat rate quantity, if any.
idstringQuantity ID.
objectstringenumValues:quantityResource type identifier.
valuestring (decimal)Decimal value.
display_valuestringFormatted value with unit abbreviation (e.g. "$1,234.56" or "100 kg").
unitobjectExpandablenullableAssociated unit.
idstringUnit ID.
objectstringenumValues:unitResource type identifier.
namestringDisplay name of the unit (e.g. "Gram", "Kilogram").
abbreviationstringShort abbreviation for the unit (e.g. "g", "kg").
typestringenumValues:currencyquantitytimeUnit dimension.
ratio_numeratorstring (decimal)Conversion ratio numerator relative to the base unit in the same dimension.
ratio_denominatorstring (decimal)Conversion ratio denominator relative to the base unit in the same dimension.
offset_numeratorstring (decimal)Conversion offset numerator, used for temperature-like conversions. Zero for most unit types.
offset_denominatorstring (decimal)Conversion offset denominator. Typically 1.
is_base_unitbooleanWhether this is the base unit for its dimension. Conversion ratios are relative to this unit.
ownerobjectnullableOwner of this resource.
null in this endpoint.created_atstring (date-time)When this unit was created.
updated_atstring (date-time)When this unit was last updated.
minimum_order_valueobjectnullableMinimum order value quantity, if any.
idstringQuantity ID.
objectstringenumValues:quantityResource type identifier.
valuestring (decimal)Decimal value.
display_valuestringFormatted value with unit abbreviation (e.g. "$1,234.56" or "100 kg").
unitobjectExpandablenullableAssociated unit.
idstringUnit ID.
objectstringenumValues:unitResource type identifier.
namestringDisplay name of the unit (e.g. "Gram", "Kilogram").
abbreviationstringShort abbreviation for the unit (e.g. "g", "kg").
typestringenumValues:currencyquantitytimeUnit dimension.
ratio_numeratorstring (decimal)Conversion ratio numerator relative to the base unit in the same dimension.
ratio_denominatorstring (decimal)Conversion ratio denominator relative to the base unit in the same dimension.
offset_numeratorstring (decimal)Conversion offset numerator, used for temperature-like conversions. Zero for most unit types.
offset_denominatorstring (decimal)Conversion offset denominator. Typically 1.
is_base_unitbooleanWhether this is the base unit for its dimension. Conversion ratios are relative to this unit.
ownerobjectnullableOwner of this resource.
null in this endpoint.created_atstring (date-time)When this unit was created.
updated_atstring (date-time)When this unit was last updated.
free_shipping_service_levelsobjectExpandablenullableService levels that qualify for free shipping.
objectstringenumValues:listObject type for ServiceLevel list
page_infoobjectPagination metadata for ServiceLevel list
next_cursorstringnullableCursor to fetch the next page, null if no more pages.
prev_cursorstringnullableCursor to fetch the previous page, null if on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectArray of ServiceLevel resources in this page
idstringService level ID.
objectstringenumValues:service_levelResource type identifier.
namestringDisplay name.
service_level_tokenstringService level token.
customer_portal_visibilitystringenumValues:visiblehiddenCustomer portal visibility.
is_defaultbooleanDefault service level for the carrier.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
created_atstring (date-time)When this shipping term was created.
updated_atstring (date-time)When this shipping term was last updated.
Responses
Successful response for Update Shipping Term