
Quick start guide
Sandbox quick starts: authenticate, then run each core ESW API flow end to end.
Quick starts take you from credentials to a working sandbox call fast. Each one is a short, ordered walkthrough with copy-ready requests, the rules that cause the most first-call errors, and links to the full reference.
Start here
Complete the Authentication quick start. Every flow below needs an access token.
Pick the flow that matches what you are building.
Choose your flow
Send a cart to ESW and take the shopper through payment
checkout.preorder.api.all
Call PreOrder; receive the Order Confirmation webhook
Create an order and manage fulfillment and cancellations
order.transaction.create.api.all, order.transaction.get.api.all, order.transaction.update.api.all, and order.transaction.cancel.api.all
Order, LineItemActivity, OrderActivity
Show shoppers localized prices
pricing.advisor.api.all
MultiplierAdvice, StandardAdvice
Share my product catalog so duties and taxes can be calculated
logistics.catalog.api.upload
RetailerCatalog
Tell ESW what is in each parcel and get shipping labels
logistics.package.api.all
Create, retrieve, and update a package
Before you begin
ESW provides your credentials through a secure channel during setup. Have these ready:
A sandbox
client_idandclient_secretYour
tenantCode. The Package API uses yourbrandCodeinsteadThe scopes enabled for your client
Conventions you will see across the quick starts
JSON over HTTPS. ESW APIs use resource-oriented URLs and JSON payloads.
Bearer tokens. Send
Authorization: Bearer <access_token>on every API request. Tokens come from ESW STS, never from an API host.Tenant identifier. Most endpoints include your
tenantCode. The Package API identifies you withbrandCode, and the Returns API uses anidentifierin the path.ISO codes. Currencies use three-letter ISO 4217 codes and countries use two-letter ISO 3166 codes, in uppercase.
Check the number format for each API. The Checkout and Order APIs send money amounts as strings such as
"89.95". The Customs Catalog, Package, and Returns APIs send amounts and weights as JSON numbers.metadataItemsneed agreement. Agree any key-valuemetadataItemswith ESW before you send them.Sandbox first. Sandbox has its own STS and API base URLs. See API Base URLs.
Other APIs
For these APIs, start with their own overview and tutorials:
More help
Test Cards for sandbox payments
Last updated
Was this helpful?