Apps or AI agents can use the Checkout URL format to create a new cart, add products, and direct a shopper to your BigCommerce storefront’s checkout. Multiple products/variants and their quantities can be added using a single URL. Optionally, you can specify the order source, and any applicable coupon code.
A new cart is created every time the URL is accessed.
The following features are currently unavailable when the checkout URL is used:
A checkout URL is formatted the following way:
store-url — This is your storefront domain (such as mystore.com, or mystore.mybigcommerce.com).id — That can be a Product ID or a SKU.quantity — This represents the quantity of the preceding Product ID or SKU.code — Optionally assign a coupon code.order_source — Optionally designate a source for the order. Supported order sources are:
The following URL will add quantity 2 of product SKU “BIGC-MUG”:
The following URL will: