Authenticate
Exchange your organization credentials for an API key token. Send a A successful response returns your access token:Store the
POST request to /api/auth/login with your OrgCode, ClientId, and ClientSecret.AccessToken value — you’ll include it in the x-api-key header for all subsequent requests. The token is valid for ExpiresIn seconds (86,400 seconds = 24 hours). Cache it and reuse it rather than re-authenticating on every request.The login endpoint is rate-limited to 10 requests per minute per
ClientId. If you exceed this limit, you’ll receive a 429 Too Many Requests response. Cache your token until it’s close to expiry to avoid hitting this limit.List your products
Retrieve your organization’s product catalog. The The response is a paginated result set:You can filter products by passing a
OrganizationId, PriceTier, CustomerNumber, and CurrencyCode are read automatically from your token’s claims — you don’t need to pass them explicitly.Filters array in the query. Supported filter fields include Sku, Name, and other product attributes. See the API reference for the full filter syntax.Create a cart
Create a new shopping cart for a customer. Pass the The response includes the new cart’s ID, which you’ll use in subsequent steps:
customerNumber in the URL path and provide the organizationId in the request body. Your token supplies the organization context automatically.Add an item
Add a product to the cart by posting to The updated cart is returned with the new line item included:Repeat this step for each additional product you want to add to the cart.
/api/carts/{customerNumber}/{cartId}/items. Use the sku from your product listing and the cart ID returned in the previous step.Checkout
Convert the cart into an order by calling the A successful checkout converts the cart to an order and returns the new order record:Save the
complete-checkout endpoint. Provide the payment details and shipping address. Nymble Commerce supports credit card payment at checkout via Authorize.Net and WorldPay.orderId — you can use it to retrieve order details, send confirmation emails, or trigger downstream fulfillment workflows.What’s next?
You’ve made your first end-to-end Nymble Commerce API flow. From here, explore:- Placing an Order — full order workflow including shipping, rep assignment, and order types
- Authentication — token lifecycle, API keys, roles, and security best practices