Skip to main content
Anchor to ShippingLabelPurchaseUserErrorCode

ShippingLabelPurchaseUserErrorCode

enum

Possible error codes that can be returned by ShippingLabelPurchaseUserError.

Anchor to AT_LEAST_1_ITEM_REQUIREDAT_LEAST_1_ITEM_REQUIRED

At least 1 item should be fulfilled.

Anchor to FULFILLMENT_ORDER_INVALIDFULFILLMENT_ORDER_INVALID

The fulfillment order is not eligible for label purchase. Review the fulfillment order details and try again.

Anchor to INVALID_PACKAGE_DIMENSIONSINVALID_PACKAGE_DIMENSIONS

Package dimensions must be greater than zero.

Shipping labels may not be purchased at this time. Please try again later.

Anchor to MISSING_COUNTRY_OF_ORIGINMISSING_COUNTRY_OF_ORIGIN

Missing country of origin.

Missing harmonized system code.

Anchor to MISSING_INSURANCE_COVERAGE_AMOUNTMISSING_INSURANCE_COVERAGE_AMOUNT

Missing insurance coverage amount.

Anchor to MISSING_INSURANCE_COVERAGE_CURRENCYMISSING_INSURANCE_COVERAGE_CURRENCY

Missing insurance coverage currency.

Anchor to MISSING_SHIPPING_DATEMISSING_SHIPPING_DATE

Shipping date is required for purchase.

Anchor to MISSING_SHIPPING_RATEMISSING_SHIPPING_RATE

Shipping rate selection is required for purchase.

The record with the ID used as the input value couldn't be found.

Anchor to PHONE_NUMBER_NOT_FULLY_QUALIFIED_DESTINATIONPHONE_NUMBER_NOT_FULLY_QUALIFIED_DESTINATION

The shipping intent has a phone number that is not fully qualified for the destination address.

Anchor to PHONE_NUMBER_NOT_FULLY_QUALIFIED_ORIGINPHONE_NUMBER_NOT_FULLY_QUALIFIED_ORIGIN

The shipping intent has a phone number that is not fully qualified for the origin address.

The label purchase failed. Please review the shipment details and try again.

Rates for the shipping label were not found. Please review the shipment details and try again.

Anchor to SHIPPING_DATE_IN_THE_PASTSHIPPING_DATE_IN_THE_PAST

Shipping date has already passed.

Anchor to TERMS_OF_SERVICE_NOT_ACCEPTEDTERMS_OF_SERVICE_NOT_ACCEPTED

Shopify Shipping terms of service have not been accepted. Purchase a shipping label through the Shopify admin first.

Non-zero total weight is required for purchase.


Was this section helpful?

•OBJECT

An error that occurs during the execution of ShippingLabelPurchase.


Was this section helpful?