@poweredbysous/storefront-sdk 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +39 -15
- package/dist/index.d.ts +39 -15
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -173,9 +173,10 @@ interface paths {
|
|
|
173
173
|
* non-sensitive routing data is returned (public_id, name, URL slug,
|
|
174
174
|
* currency); catalogue and write endpoints remain store-scoped and signed.
|
|
175
175
|
*
|
|
176
|
-
* Stores with no active pickup location are
|
|
177
|
-
*
|
|
178
|
-
*
|
|
176
|
+
* Stores with no active pickup location are listed only when they are set up
|
|
177
|
+
* to deliver (an active delivery carrier, or an onboarding or store config that
|
|
178
|
+
* offers delivery), with a null address, coordinates and open status. The rest
|
|
179
|
+
* can't be ordered from, so they are omitted.
|
|
179
180
|
*/
|
|
180
181
|
get: operations["brand_locations_list"];
|
|
181
182
|
put?: never;
|
|
@@ -2591,6 +2592,11 @@ interface components {
|
|
|
2591
2592
|
/** @description Validates the request body for applying a discount code to a cart. */
|
|
2592
2593
|
ApplyDiscountInput: {
|
|
2593
2594
|
code: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* Format: uuid
|
|
2597
|
+
* @description Storefront CustomerProfile.id of the logged-in customer, as sent when creating the checkout, so the code is held to its per-customer limit from the cart onwards. Omitted for guests.
|
|
2598
|
+
*/
|
|
2599
|
+
customer_profile_id?: string | null;
|
|
2594
2600
|
};
|
|
2595
2601
|
/** @description Validates a gift card redemption request on a checkout. */
|
|
2596
2602
|
ApplyGiftCardInput: {
|
|
@@ -2661,11 +2667,10 @@ interface components {
|
|
|
2661
2667
|
/**
|
|
2662
2668
|
* @description One sellable location in a brand/company's storefront discovery list.
|
|
2663
2669
|
*
|
|
2664
|
-
*
|
|
2665
|
-
*
|
|
2666
|
-
*
|
|
2667
|
-
* geocoding is unavailable
|
|
2668
|
-
* for the schema. The storefront uses the coordinates to snap a customer's
|
|
2670
|
+
* A location without an active pickup location is listed only when it is set
|
|
2671
|
+
* up to deliver, and then ``address``, ``latitude``, ``longitude`` and
|
|
2672
|
+
* ``open_status`` are all null. ``latitude``/``longitude`` are also null when
|
|
2673
|
+
* geocoding is unavailable. The storefront uses the coordinates to snap a customer's
|
|
2669
2674
|
* delivery address to the nearest location, and the address for the manual
|
|
2670
2675
|
* location picker.
|
|
2671
2676
|
*/
|
|
@@ -2746,6 +2751,7 @@ interface components {
|
|
|
2746
2751
|
readonly discount: {
|
|
2747
2752
|
[key: string]: unknown;
|
|
2748
2753
|
} | null;
|
|
2754
|
+
readonly discount_notice: components["schemas"]["CartDiscountNotice"] | null;
|
|
2749
2755
|
readonly promotion: {
|
|
2750
2756
|
[key: string]: unknown;
|
|
2751
2757
|
} | null;
|
|
@@ -2823,6 +2829,19 @@ interface components {
|
|
|
2823
2829
|
/** @description ISO 3166-1 alpha-2, case-insensitive. A nationwide carrier prices by country, so it is enough without a street and city; a live courier quote needs all three. */
|
|
2824
2830
|
address_country?: string;
|
|
2825
2831
|
};
|
|
2832
|
+
/**
|
|
2833
|
+
* @description A code the shopper typed that the cart has since taken off.
|
|
2834
|
+
*
|
|
2835
|
+
* Present from the recalculation that removed the code until the shopper
|
|
2836
|
+
* applies or removes a code. Documentation only: the payload is built by
|
|
2837
|
+
* ``CartSerializer.get_discount_notice``.
|
|
2838
|
+
*/
|
|
2839
|
+
CartDiscountNotice: {
|
|
2840
|
+
/** @description The code that was removed. */
|
|
2841
|
+
code: string;
|
|
2842
|
+
/** @description The error code saying why, e.g. DISCOUNT_CUSTOMER_LIMIT, DISCOUNT_EXPIRED, DISCOUNT_MIN_ORDER. */
|
|
2843
|
+
reason: string;
|
|
2844
|
+
};
|
|
2826
2845
|
/** @description Validates a single cart item for eligibility checks. */
|
|
2827
2846
|
CartItem: {
|
|
2828
2847
|
product_id: number;
|
|
@@ -3085,6 +3104,11 @@ interface components {
|
|
|
3085
3104
|
discount_amount: string;
|
|
3086
3105
|
discount_code: string | null;
|
|
3087
3106
|
discount_name: string | null;
|
|
3107
|
+
/** @description A code the shopper typed that the cart took off, and the error code why. */
|
|
3108
|
+
discount_notice: {
|
|
3109
|
+
code: string;
|
|
3110
|
+
reason: string;
|
|
3111
|
+
} | null;
|
|
3088
3112
|
applied_promotion_id: number | null;
|
|
3089
3113
|
promotion_discount_amount: string;
|
|
3090
3114
|
total: string;
|
|
@@ -6227,7 +6251,7 @@ interface operations {
|
|
|
6227
6251
|
"application/json": components["schemas"]["Cart"];
|
|
6228
6252
|
};
|
|
6229
6253
|
};
|
|
6230
|
-
/** @description Possible error codes: `DISCOUNT_INVALID`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
6254
|
+
/** @description Possible error codes: `DISCOUNT_INVALID`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
6231
6255
|
400: {
|
|
6232
6256
|
headers: {
|
|
6233
6257
|
[name: string]: unknown;
|
|
@@ -7691,7 +7715,7 @@ interface operations {
|
|
|
7691
7715
|
"application/json": components["schemas"]["Checkout"];
|
|
7692
7716
|
};
|
|
7693
7717
|
};
|
|
7694
|
-
/** @description Possible error codes: `MISSING_CART_ID`, `CHECKOUT_VALIDATION_ERROR`, `PRODUCT_UNAVAILABLE`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7718
|
+
/** @description Possible error codes: `MISSING_CART_ID`, `CHECKOUT_VALIDATION_ERROR`, `PRODUCT_UNAVAILABLE`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7695
7719
|
400: {
|
|
7696
7720
|
headers: {
|
|
7697
7721
|
[name: string]: unknown;
|
|
@@ -7894,7 +7918,7 @@ interface operations {
|
|
|
7894
7918
|
};
|
|
7895
7919
|
};
|
|
7896
7920
|
};
|
|
7897
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7921
|
+
/** @description Possible error codes: `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7898
7922
|
400: {
|
|
7899
7923
|
headers: {
|
|
7900
7924
|
[name: string]: unknown;
|
|
@@ -7930,7 +7954,7 @@ interface operations {
|
|
|
7930
7954
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7931
7955
|
};
|
|
7932
7956
|
};
|
|
7933
|
-
/** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7957
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7934
7958
|
409: {
|
|
7935
7959
|
headers: {
|
|
7936
7960
|
[name: string]: unknown;
|
|
@@ -8511,7 +8535,7 @@ interface operations {
|
|
|
8511
8535
|
"application/json": components["schemas"]["Checkout"];
|
|
8512
8536
|
};
|
|
8513
8537
|
};
|
|
8514
|
-
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8538
|
+
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8515
8539
|
400: {
|
|
8516
8540
|
headers: {
|
|
8517
8541
|
[name: string]: unknown;
|
|
@@ -8908,7 +8932,7 @@ interface operations {
|
|
|
8908
8932
|
};
|
|
8909
8933
|
};
|
|
8910
8934
|
};
|
|
8911
|
-
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `CHECKOUT_EMPTY`, `ZEEMIJLEN_IN_USE_ELSEWHERE`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`, `SERVICE_POINT_REQUIRED`, `GIFT_CARD_HOLD_LAPSED`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8935
|
+
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `CHECKOUT_EMPTY`, `ZEEMIJLEN_IN_USE_ELSEWHERE`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`, `SERVICE_POINT_REQUIRED`, `DISCOUNT_CUSTOMER_LIMIT`, `GIFT_CARD_HOLD_LAPSED`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8912
8936
|
400: {
|
|
8913
8937
|
headers: {
|
|
8914
8938
|
[name: string]: unknown;
|
|
@@ -9339,7 +9363,7 @@ interface operations {
|
|
|
9339
9363
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
9340
9364
|
};
|
|
9341
9365
|
};
|
|
9342
|
-
/** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
9366
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`, `DISCOUNT_NOT_REMOVABLE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
9343
9367
|
409: {
|
|
9344
9368
|
headers: {
|
|
9345
9369
|
[name: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -173,9 +173,10 @@ interface paths {
|
|
|
173
173
|
* non-sensitive routing data is returned (public_id, name, URL slug,
|
|
174
174
|
* currency); catalogue and write endpoints remain store-scoped and signed.
|
|
175
175
|
*
|
|
176
|
-
* Stores with no active pickup location are
|
|
177
|
-
*
|
|
178
|
-
*
|
|
176
|
+
* Stores with no active pickup location are listed only when they are set up
|
|
177
|
+
* to deliver (an active delivery carrier, or an onboarding or store config that
|
|
178
|
+
* offers delivery), with a null address, coordinates and open status. The rest
|
|
179
|
+
* can't be ordered from, so they are omitted.
|
|
179
180
|
*/
|
|
180
181
|
get: operations["brand_locations_list"];
|
|
181
182
|
put?: never;
|
|
@@ -2591,6 +2592,11 @@ interface components {
|
|
|
2591
2592
|
/** @description Validates the request body for applying a discount code to a cart. */
|
|
2592
2593
|
ApplyDiscountInput: {
|
|
2593
2594
|
code: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* Format: uuid
|
|
2597
|
+
* @description Storefront CustomerProfile.id of the logged-in customer, as sent when creating the checkout, so the code is held to its per-customer limit from the cart onwards. Omitted for guests.
|
|
2598
|
+
*/
|
|
2599
|
+
customer_profile_id?: string | null;
|
|
2594
2600
|
};
|
|
2595
2601
|
/** @description Validates a gift card redemption request on a checkout. */
|
|
2596
2602
|
ApplyGiftCardInput: {
|
|
@@ -2661,11 +2667,10 @@ interface components {
|
|
|
2661
2667
|
/**
|
|
2662
2668
|
* @description One sellable location in a brand/company's storefront discovery list.
|
|
2663
2669
|
*
|
|
2664
|
-
*
|
|
2665
|
-
*
|
|
2666
|
-
*
|
|
2667
|
-
* geocoding is unavailable
|
|
2668
|
-
* for the schema. The storefront uses the coordinates to snap a customer's
|
|
2670
|
+
* A location without an active pickup location is listed only when it is set
|
|
2671
|
+
* up to deliver, and then ``address``, ``latitude``, ``longitude`` and
|
|
2672
|
+
* ``open_status`` are all null. ``latitude``/``longitude`` are also null when
|
|
2673
|
+
* geocoding is unavailable. The storefront uses the coordinates to snap a customer's
|
|
2669
2674
|
* delivery address to the nearest location, and the address for the manual
|
|
2670
2675
|
* location picker.
|
|
2671
2676
|
*/
|
|
@@ -2746,6 +2751,7 @@ interface components {
|
|
|
2746
2751
|
readonly discount: {
|
|
2747
2752
|
[key: string]: unknown;
|
|
2748
2753
|
} | null;
|
|
2754
|
+
readonly discount_notice: components["schemas"]["CartDiscountNotice"] | null;
|
|
2749
2755
|
readonly promotion: {
|
|
2750
2756
|
[key: string]: unknown;
|
|
2751
2757
|
} | null;
|
|
@@ -2823,6 +2829,19 @@ interface components {
|
|
|
2823
2829
|
/** @description ISO 3166-1 alpha-2, case-insensitive. A nationwide carrier prices by country, so it is enough without a street and city; a live courier quote needs all three. */
|
|
2824
2830
|
address_country?: string;
|
|
2825
2831
|
};
|
|
2832
|
+
/**
|
|
2833
|
+
* @description A code the shopper typed that the cart has since taken off.
|
|
2834
|
+
*
|
|
2835
|
+
* Present from the recalculation that removed the code until the shopper
|
|
2836
|
+
* applies or removes a code. Documentation only: the payload is built by
|
|
2837
|
+
* ``CartSerializer.get_discount_notice``.
|
|
2838
|
+
*/
|
|
2839
|
+
CartDiscountNotice: {
|
|
2840
|
+
/** @description The code that was removed. */
|
|
2841
|
+
code: string;
|
|
2842
|
+
/** @description The error code saying why, e.g. DISCOUNT_CUSTOMER_LIMIT, DISCOUNT_EXPIRED, DISCOUNT_MIN_ORDER. */
|
|
2843
|
+
reason: string;
|
|
2844
|
+
};
|
|
2826
2845
|
/** @description Validates a single cart item for eligibility checks. */
|
|
2827
2846
|
CartItem: {
|
|
2828
2847
|
product_id: number;
|
|
@@ -3085,6 +3104,11 @@ interface components {
|
|
|
3085
3104
|
discount_amount: string;
|
|
3086
3105
|
discount_code: string | null;
|
|
3087
3106
|
discount_name: string | null;
|
|
3107
|
+
/** @description A code the shopper typed that the cart took off, and the error code why. */
|
|
3108
|
+
discount_notice: {
|
|
3109
|
+
code: string;
|
|
3110
|
+
reason: string;
|
|
3111
|
+
} | null;
|
|
3088
3112
|
applied_promotion_id: number | null;
|
|
3089
3113
|
promotion_discount_amount: string;
|
|
3090
3114
|
total: string;
|
|
@@ -6227,7 +6251,7 @@ interface operations {
|
|
|
6227
6251
|
"application/json": components["schemas"]["Cart"];
|
|
6228
6252
|
};
|
|
6229
6253
|
};
|
|
6230
|
-
/** @description Possible error codes: `DISCOUNT_INVALID`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
6254
|
+
/** @description Possible error codes: `DISCOUNT_INVALID`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
6231
6255
|
400: {
|
|
6232
6256
|
headers: {
|
|
6233
6257
|
[name: string]: unknown;
|
|
@@ -7691,7 +7715,7 @@ interface operations {
|
|
|
7691
7715
|
"application/json": components["schemas"]["Checkout"];
|
|
7692
7716
|
};
|
|
7693
7717
|
};
|
|
7694
|
-
/** @description Possible error codes: `MISSING_CART_ID`, `CHECKOUT_VALIDATION_ERROR`, `PRODUCT_UNAVAILABLE`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7718
|
+
/** @description Possible error codes: `MISSING_CART_ID`, `CHECKOUT_VALIDATION_ERROR`, `PRODUCT_UNAVAILABLE`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7695
7719
|
400: {
|
|
7696
7720
|
headers: {
|
|
7697
7721
|
[name: string]: unknown;
|
|
@@ -7894,7 +7918,7 @@ interface operations {
|
|
|
7894
7918
|
};
|
|
7895
7919
|
};
|
|
7896
7920
|
};
|
|
7897
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7921
|
+
/** @description Possible error codes: `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7898
7922
|
400: {
|
|
7899
7923
|
headers: {
|
|
7900
7924
|
[name: string]: unknown;
|
|
@@ -7930,7 +7954,7 @@ interface operations {
|
|
|
7930
7954
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7931
7955
|
};
|
|
7932
7956
|
};
|
|
7933
|
-
/** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7957
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7934
7958
|
409: {
|
|
7935
7959
|
headers: {
|
|
7936
7960
|
[name: string]: unknown;
|
|
@@ -8511,7 +8535,7 @@ interface operations {
|
|
|
8511
8535
|
"application/json": components["schemas"]["Checkout"];
|
|
8512
8536
|
};
|
|
8513
8537
|
};
|
|
8514
|
-
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8538
|
+
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`, `DISCOUNT_CUSTOMER_LIMIT`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8515
8539
|
400: {
|
|
8516
8540
|
headers: {
|
|
8517
8541
|
[name: string]: unknown;
|
|
@@ -8908,7 +8932,7 @@ interface operations {
|
|
|
8908
8932
|
};
|
|
8909
8933
|
};
|
|
8910
8934
|
};
|
|
8911
|
-
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `CHECKOUT_EMPTY`, `ZEEMIJLEN_IN_USE_ELSEWHERE`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`, `SERVICE_POINT_REQUIRED`, `GIFT_CARD_HOLD_LAPSED`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8935
|
+
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `CHECKOUT_EMPTY`, `ZEEMIJLEN_IN_USE_ELSEWHERE`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`, `SERVICE_POINT_REQUIRED`, `DISCOUNT_CUSTOMER_LIMIT`, `GIFT_CARD_HOLD_LAPSED`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUNDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_REFUND_FAILED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_BACKING_LOST_NOT_CHARGED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GIFT_CARD_HOLD_LAPSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8912
8936
|
400: {
|
|
8913
8937
|
headers: {
|
|
8914
8938
|
[name: string]: unknown;
|
|
@@ -9339,7 +9363,7 @@ interface operations {
|
|
|
9339
9363
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
9340
9364
|
};
|
|
9341
9365
|
};
|
|
9342
|
-
/** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
9366
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`, `DISCOUNT_NOT_REMOVABLE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
9343
9367
|
409: {
|
|
9344
9368
|
headers: {
|
|
9345
9369
|
[name: string]: unknown;
|