Settings
Account settings: general, payment, tax, shipping, subscription, analytics and more.
Endpoints
Guides that use it
Authentication
The three Comecero API token types, how long each one lasts, how to create a secret token in the dashboard and how a browser gets a limited token.
CORS
Call the Comecero API straight from a browser by adding your site's origin to the allowed CORS origins, and learn which origins are allowed without setup.
Dates and times
How the Comecero API writes dates in ISO 8601, how the timezone parameter changes them, and the full and shorthand date formats you can send in requests.
Subscriptions
Sell a subscription with a plan and a cart, follow renewals with webhooks, change items with proration, cancel, retry failed payments and handle grace periods.
Analytics
Send storefront page views and purchases to Google Analytics 4 and Google Ads conversions, and add your own tracking code to the hosted storefront.
Auto fulfill and capture delay
How fulfillment settings decide when order items are marked fulfilled and when an authorized payment is captured, so you can take the money only after shipping.
Gateway weight
How the gateway weight decides which payment gateway takes a payment when more than one can, and how backup gateways and gateway attempts work.
Settings reference
How Comecero settings work in detail. Gateway weight, automatic fulfillment and capture, shipping price rules and adjustments, and storefront analytics.
Delete a gateway DELETE
Removes a gateway. A live gateway that has taken payments cannot be deleted (`409`): set `active` to `false` instead. Test gateways can always be deleted. Secret and trusted tokens may call this with the `gateways` delete permission.
Get analytics settings GET
Returns the tracking settings: your GA4 measurement ID, Google Ads conversion ID and label, Matomo site and your own tracking code. Settings are kept per mode: a test token works on the test settings, a live token on the live ones. Secret and trusted tokens may call it when their permissions include `settings_analytics`. Limited tokens may not.