HTTP Status Codes
| Status Code | Description |
|---|---|
200 | Success - The request was successful |
201 | Created - A new resource was created successfully |
400 | Bad Request - The request was malformed or invalid |
401 | Unauthorized - Invalid or missing authentication |
402 | Payment Required - Payment or wallet issue |
403 | Forbidden - You don’t have permission to access this resource |
404 | Not Found - The requested resource does not exist |
409 | Conflict - Resource already exists |
422 | Unprocessable Entity - Validation error |
500 | Internal Server Error - Something went wrong on our end |
502 | Bad Gateway - External service error |
Error Response Format
All error responses follow a consistent structure:API Error Codes
General Errors
| Error Code | Description |
|---|---|
not_found | Resource was not found |
validation_error | A parameter was incorrect or missing. Check details for more information |
bad_request | The request was malformed or invalid |
already_exists | Resource already exists (e.g., duplicate idempotency key) |
internal_error | Something went wrong with our internal systems |
Example
Authentication Errors
| Error Code | Description |
|---|---|
unauthorized | Authentication is required for this action |
forbidden | You do not have permission for this action |
invalid_token | Your API token is invalid |
token_expired | Your API token has expired |
Example
Wallet & Payment Errors
| Error Code | Description |
|---|---|
insufficient_funds | Insufficient funds in wallet for the order |
payment_failed | Payment operation failed |
payment_method_required | No default payment method configured |
invalid_payment_method | The provided payment method is invalid |
Example
Order Request Errors
| Error Code | Description |
|---|---|
invalid_shipping_address | The shipping address failed validation |
url_unreachable | The product URL provided is inaccessible |
invalid_variant | Product variant not provided or not found on product page |
out_of_stock | Product is not currently available for purchase |
shipping_unavailable | Shipping to this address is not available |
non_us_retailer | Only US retailer sites are supported |
order_not_cancellable | Order cannot be cancelled due to its current status |
Example
External Service Errors
| Error Code | Description |
|---|---|
external_service_error | An external service call failed |
Example
Order Processing Errors
When an order fails during processing, theerror_type field in the order response or webhook payload contains one of these codes:
Product Errors
| Error Type | Description |
|---|---|
product_not_found | Product page doesn’t exist or was removed |
product_out_of_stock | Product is out of stock |
product_unavailable | Product exists but cannot be purchased |
invalid_product_url | URL is malformed or not a valid product page |
product_variant_required | Product requires a variant selection |
product_variant_unavailable | Selected variant is not available |
product_quantity_unavailable | Requested quantity is not available |
Example
Price Errors
| Error Type | Description |
|---|---|
max_price_exceeded | Total price exceeds the max_price limit |
Example
Cart & Checkout Errors
| Error Type | Description |
|---|---|
add_to_cart_failed | Could not add product to cart |
cart_empty | Cart became empty during checkout |
checkout_blocked | Checkout blocked (captcha, verification, etc.) |
checkout_failed | Generic checkout failure |
Example
Shipping Errors
| Error Type | Description |
|---|---|
shipping_address_invalid | Address validation failed on retailer site |
shipping_unavailable | Cannot ship to the given address |
shipping_method_unavailable | No shipping methods available |
Example
Payment Errors
| Error Type | Description |
|---|---|
payment_declined | Payment was declined by retailer |
payment_method_invalid | Payment method not accepted |
payment_failed | Generic payment failure |
Example
Account Errors
| Error Type | Description |
|---|---|
login_failed | Could not log into retailer account |
session_expired | Session expired during checkout |
account_locked | Retailer account is locked or suspended |
account_verification_required | Account needs verification |
Example
Retailer Errors
| Error Type | Description |
|---|---|
retailer_unavailable | Retailer website is down or inaccessible |
retailer_not_supported | Retailer is not supported |
retailer_rate_limited | Rate limited by retailer |
Example
Quantity Limit Errors
| Error Type | Description |
|---|---|
quantity_limit_exceeded | Retailer has purchase quantity limits |
order_limit_exceeded | Account has reached order limits |

