@poweredbysous/storefront-all-sdk 4.15.0 → 4.15.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
|
@@ -1745,9 +1745,10 @@ interface paths {
|
|
|
1745
1745
|
* non-sensitive routing data is returned (public_id, name, URL slug,
|
|
1746
1746
|
* currency); catalogue and write endpoints remain store-scoped and signed.
|
|
1747
1747
|
*
|
|
1748
|
-
* Stores with no active pickup location are
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1748
|
+
* Stores with no active pickup location are listed only when they are set up
|
|
1749
|
+
* to deliver (an active delivery carrier, or an onboarding or store config that
|
|
1750
|
+
* offers delivery), with a null address, coordinates and open status. The rest
|
|
1751
|
+
* can't be ordered from, so they are omitted.
|
|
1751
1752
|
*/
|
|
1752
1753
|
get: operations["brand_locations_list"];
|
|
1753
1754
|
put?: never;
|
|
@@ -7361,6 +7362,11 @@ interface components {
|
|
|
7361
7362
|
/** @description Validates the request body for applying a discount code to a cart. */
|
|
7362
7363
|
ApplyDiscountInput: {
|
|
7363
7364
|
code: string;
|
|
7365
|
+
/**
|
|
7366
|
+
* Format: uuid
|
|
7367
|
+
* @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.
|
|
7368
|
+
*/
|
|
7369
|
+
customer_profile_id?: string | null;
|
|
7364
7370
|
};
|
|
7365
7371
|
/** @description Validates a gift card redemption request on a checkout. */
|
|
7366
7372
|
ApplyGiftCardInput: {
|
|
@@ -7484,11 +7490,10 @@ interface components {
|
|
|
7484
7490
|
/**
|
|
7485
7491
|
* @description One sellable location in a brand/company's storefront discovery list.
|
|
7486
7492
|
*
|
|
7487
|
-
*
|
|
7488
|
-
*
|
|
7489
|
-
*
|
|
7490
|
-
* geocoding is unavailable
|
|
7491
|
-
* for the schema. The storefront uses the coordinates to snap a customer's
|
|
7493
|
+
* A location without an active pickup location is listed only when it is set
|
|
7494
|
+
* up to deliver, and then ``address``, ``latitude``, ``longitude`` and
|
|
7495
|
+
* ``open_status`` are all null. ``latitude``/``longitude`` are also null when
|
|
7496
|
+
* geocoding is unavailable. The storefront uses the coordinates to snap a customer's
|
|
7492
7497
|
* delivery address to the nearest location, and the address for the manual
|
|
7493
7498
|
* location picker.
|
|
7494
7499
|
*/
|
|
@@ -7633,6 +7638,7 @@ interface components {
|
|
|
7633
7638
|
readonly discount: {
|
|
7634
7639
|
[key: string]: unknown;
|
|
7635
7640
|
} | null;
|
|
7641
|
+
readonly discount_notice: components["schemas"]["CartDiscountNotice"] | null;
|
|
7636
7642
|
readonly promotion: {
|
|
7637
7643
|
[key: string]: unknown;
|
|
7638
7644
|
} | null;
|
|
@@ -7710,6 +7716,19 @@ interface components {
|
|
|
7710
7716
|
/** @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. */
|
|
7711
7717
|
address_country?: string;
|
|
7712
7718
|
};
|
|
7719
|
+
/**
|
|
7720
|
+
* @description A code the shopper typed that the cart has since taken off.
|
|
7721
|
+
*
|
|
7722
|
+
* Present from the recalculation that removed the code until the shopper
|
|
7723
|
+
* applies or removes a code. Documentation only: the payload is built by
|
|
7724
|
+
* ``CartSerializer.get_discount_notice``.
|
|
7725
|
+
*/
|
|
7726
|
+
CartDiscountNotice: {
|
|
7727
|
+
/** @description The code that was removed. */
|
|
7728
|
+
code: string;
|
|
7729
|
+
/** @description The error code saying why, e.g. DISCOUNT_CUSTOMER_LIMIT, DISCOUNT_EXPIRED, DISCOUNT_MIN_ORDER. */
|
|
7730
|
+
reason: string;
|
|
7731
|
+
};
|
|
7713
7732
|
/** @description Validates a single cart item for eligibility checks. */
|
|
7714
7733
|
CartItem: {
|
|
7715
7734
|
product_id: number;
|
|
@@ -7995,6 +8014,11 @@ interface components {
|
|
|
7995
8014
|
discount_amount: string;
|
|
7996
8015
|
discount_code: string | null;
|
|
7997
8016
|
discount_name: string | null;
|
|
8017
|
+
/** @description A code the shopper typed that the cart took off, and the error code why. */
|
|
8018
|
+
discount_notice: {
|
|
8019
|
+
code: string;
|
|
8020
|
+
reason: string;
|
|
8021
|
+
} | null;
|
|
7998
8022
|
applied_promotion_id: number | null;
|
|
7999
8023
|
promotion_discount_amount: string;
|
|
8000
8024
|
total: string;
|
|
@@ -20141,7 +20165,7 @@ interface operations {
|
|
|
20141
20165
|
"application/json": components["schemas"]["Cart"];
|
|
20142
20166
|
};
|
|
20143
20167
|
};
|
|
20144
|
-
/** @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. */
|
|
20168
|
+
/** @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. */
|
|
20145
20169
|
400: {
|
|
20146
20170
|
headers: {
|
|
20147
20171
|
[name: string]: unknown;
|
|
@@ -22397,7 +22421,7 @@ interface operations {
|
|
|
22397
22421
|
"application/json": components["schemas"]["Checkout"];
|
|
22398
22422
|
};
|
|
22399
22423
|
};
|
|
22400
|
-
/** @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. */
|
|
22424
|
+
/** @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. */
|
|
22401
22425
|
400: {
|
|
22402
22426
|
headers: {
|
|
22403
22427
|
[name: string]: unknown;
|
|
@@ -22600,7 +22624,7 @@ interface operations {
|
|
|
22600
22624
|
};
|
|
22601
22625
|
};
|
|
22602
22626
|
};
|
|
22603
|
-
/** @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. */
|
|
22627
|
+
/** @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. */
|
|
22604
22628
|
400: {
|
|
22605
22629
|
headers: {
|
|
22606
22630
|
[name: string]: unknown;
|
|
@@ -22636,7 +22660,7 @@ interface operations {
|
|
|
22636
22660
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22637
22661
|
};
|
|
22638
22662
|
};
|
|
22639
|
-
/** @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. */
|
|
22663
|
+
/** @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. */
|
|
22640
22664
|
409: {
|
|
22641
22665
|
headers: {
|
|
22642
22666
|
[name: string]: unknown;
|
|
@@ -23217,7 +23241,7 @@ interface operations {
|
|
|
23217
23241
|
"application/json": components["schemas"]["Checkout"];
|
|
23218
23242
|
};
|
|
23219
23243
|
};
|
|
23220
|
-
/** @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. */
|
|
23244
|
+
/** @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. */
|
|
23221
23245
|
400: {
|
|
23222
23246
|
headers: {
|
|
23223
23247
|
[name: string]: unknown;
|
|
@@ -23614,7 +23638,7 @@ interface operations {
|
|
|
23614
23638
|
};
|
|
23615
23639
|
};
|
|
23616
23640
|
};
|
|
23617
|
-
/** @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. */
|
|
23641
|
+
/** @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. */
|
|
23618
23642
|
400: {
|
|
23619
23643
|
headers: {
|
|
23620
23644
|
[name: string]: unknown;
|
|
@@ -24045,7 +24069,7 @@ interface operations {
|
|
|
24045
24069
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24046
24070
|
};
|
|
24047
24071
|
};
|
|
24048
|
-
/** @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. */
|
|
24072
|
+
/** @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. */
|
|
24049
24073
|
409: {
|
|
24050
24074
|
headers: {
|
|
24051
24075
|
[name: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -1745,9 +1745,10 @@ interface paths {
|
|
|
1745
1745
|
* non-sensitive routing data is returned (public_id, name, URL slug,
|
|
1746
1746
|
* currency); catalogue and write endpoints remain store-scoped and signed.
|
|
1747
1747
|
*
|
|
1748
|
-
* Stores with no active pickup location are
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1748
|
+
* Stores with no active pickup location are listed only when they are set up
|
|
1749
|
+
* to deliver (an active delivery carrier, or an onboarding or store config that
|
|
1750
|
+
* offers delivery), with a null address, coordinates and open status. The rest
|
|
1751
|
+
* can't be ordered from, so they are omitted.
|
|
1751
1752
|
*/
|
|
1752
1753
|
get: operations["brand_locations_list"];
|
|
1753
1754
|
put?: never;
|
|
@@ -7361,6 +7362,11 @@ interface components {
|
|
|
7361
7362
|
/** @description Validates the request body for applying a discount code to a cart. */
|
|
7362
7363
|
ApplyDiscountInput: {
|
|
7363
7364
|
code: string;
|
|
7365
|
+
/**
|
|
7366
|
+
* Format: uuid
|
|
7367
|
+
* @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.
|
|
7368
|
+
*/
|
|
7369
|
+
customer_profile_id?: string | null;
|
|
7364
7370
|
};
|
|
7365
7371
|
/** @description Validates a gift card redemption request on a checkout. */
|
|
7366
7372
|
ApplyGiftCardInput: {
|
|
@@ -7484,11 +7490,10 @@ interface components {
|
|
|
7484
7490
|
/**
|
|
7485
7491
|
* @description One sellable location in a brand/company's storefront discovery list.
|
|
7486
7492
|
*
|
|
7487
|
-
*
|
|
7488
|
-
*
|
|
7489
|
-
*
|
|
7490
|
-
* geocoding is unavailable
|
|
7491
|
-
* for the schema. The storefront uses the coordinates to snap a customer's
|
|
7493
|
+
* A location without an active pickup location is listed only when it is set
|
|
7494
|
+
* up to deliver, and then ``address``, ``latitude``, ``longitude`` and
|
|
7495
|
+
* ``open_status`` are all null. ``latitude``/``longitude`` are also null when
|
|
7496
|
+
* geocoding is unavailable. The storefront uses the coordinates to snap a customer's
|
|
7492
7497
|
* delivery address to the nearest location, and the address for the manual
|
|
7493
7498
|
* location picker.
|
|
7494
7499
|
*/
|
|
@@ -7633,6 +7638,7 @@ interface components {
|
|
|
7633
7638
|
readonly discount: {
|
|
7634
7639
|
[key: string]: unknown;
|
|
7635
7640
|
} | null;
|
|
7641
|
+
readonly discount_notice: components["schemas"]["CartDiscountNotice"] | null;
|
|
7636
7642
|
readonly promotion: {
|
|
7637
7643
|
[key: string]: unknown;
|
|
7638
7644
|
} | null;
|
|
@@ -7710,6 +7716,19 @@ interface components {
|
|
|
7710
7716
|
/** @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. */
|
|
7711
7717
|
address_country?: string;
|
|
7712
7718
|
};
|
|
7719
|
+
/**
|
|
7720
|
+
* @description A code the shopper typed that the cart has since taken off.
|
|
7721
|
+
*
|
|
7722
|
+
* Present from the recalculation that removed the code until the shopper
|
|
7723
|
+
* applies or removes a code. Documentation only: the payload is built by
|
|
7724
|
+
* ``CartSerializer.get_discount_notice``.
|
|
7725
|
+
*/
|
|
7726
|
+
CartDiscountNotice: {
|
|
7727
|
+
/** @description The code that was removed. */
|
|
7728
|
+
code: string;
|
|
7729
|
+
/** @description The error code saying why, e.g. DISCOUNT_CUSTOMER_LIMIT, DISCOUNT_EXPIRED, DISCOUNT_MIN_ORDER. */
|
|
7730
|
+
reason: string;
|
|
7731
|
+
};
|
|
7713
7732
|
/** @description Validates a single cart item for eligibility checks. */
|
|
7714
7733
|
CartItem: {
|
|
7715
7734
|
product_id: number;
|
|
@@ -7995,6 +8014,11 @@ interface components {
|
|
|
7995
8014
|
discount_amount: string;
|
|
7996
8015
|
discount_code: string | null;
|
|
7997
8016
|
discount_name: string | null;
|
|
8017
|
+
/** @description A code the shopper typed that the cart took off, and the error code why. */
|
|
8018
|
+
discount_notice: {
|
|
8019
|
+
code: string;
|
|
8020
|
+
reason: string;
|
|
8021
|
+
} | null;
|
|
7998
8022
|
applied_promotion_id: number | null;
|
|
7999
8023
|
promotion_discount_amount: string;
|
|
8000
8024
|
total: string;
|
|
@@ -20141,7 +20165,7 @@ interface operations {
|
|
|
20141
20165
|
"application/json": components["schemas"]["Cart"];
|
|
20142
20166
|
};
|
|
20143
20167
|
};
|
|
20144
|
-
/** @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. */
|
|
20168
|
+
/** @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. */
|
|
20145
20169
|
400: {
|
|
20146
20170
|
headers: {
|
|
20147
20171
|
[name: string]: unknown;
|
|
@@ -22397,7 +22421,7 @@ interface operations {
|
|
|
22397
22421
|
"application/json": components["schemas"]["Checkout"];
|
|
22398
22422
|
};
|
|
22399
22423
|
};
|
|
22400
|
-
/** @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. */
|
|
22424
|
+
/** @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. */
|
|
22401
22425
|
400: {
|
|
22402
22426
|
headers: {
|
|
22403
22427
|
[name: string]: unknown;
|
|
@@ -22600,7 +22624,7 @@ interface operations {
|
|
|
22600
22624
|
};
|
|
22601
22625
|
};
|
|
22602
22626
|
};
|
|
22603
|
-
/** @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. */
|
|
22627
|
+
/** @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. */
|
|
22604
22628
|
400: {
|
|
22605
22629
|
headers: {
|
|
22606
22630
|
[name: string]: unknown;
|
|
@@ -22636,7 +22660,7 @@ interface operations {
|
|
|
22636
22660
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22637
22661
|
};
|
|
22638
22662
|
};
|
|
22639
|
-
/** @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. */
|
|
22663
|
+
/** @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. */
|
|
22640
22664
|
409: {
|
|
22641
22665
|
headers: {
|
|
22642
22666
|
[name: string]: unknown;
|
|
@@ -23217,7 +23241,7 @@ interface operations {
|
|
|
23217
23241
|
"application/json": components["schemas"]["Checkout"];
|
|
23218
23242
|
};
|
|
23219
23243
|
};
|
|
23220
|
-
/** @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. */
|
|
23244
|
+
/** @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. */
|
|
23221
23245
|
400: {
|
|
23222
23246
|
headers: {
|
|
23223
23247
|
[name: string]: unknown;
|
|
@@ -23614,7 +23638,7 @@ interface operations {
|
|
|
23614
23638
|
};
|
|
23615
23639
|
};
|
|
23616
23640
|
};
|
|
23617
|
-
/** @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. */
|
|
23641
|
+
/** @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. */
|
|
23618
23642
|
400: {
|
|
23619
23643
|
headers: {
|
|
23620
23644
|
[name: string]: unknown;
|
|
@@ -24045,7 +24069,7 @@ interface operations {
|
|
|
24045
24069
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24046
24070
|
};
|
|
24047
24071
|
};
|
|
24048
|
-
/** @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. */
|
|
24072
|
+
/** @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. */
|
|
24049
24073
|
409: {
|
|
24050
24074
|
headers: {
|
|
24051
24075
|
[name: string]: unknown;
|