Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

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.

Building with an AI coding agent? Point it at AGENTS.md first. It covers environments, authentication, which calls are safe to run, and the per-API rules behind most first-call errors.

Start here

  1. Complete the Authentication quick start. Every flow below needs an access token.

  2. Pick the flow that matches what you are building.

Choose your flow

I want to
Quick start
Scope
You will call

Get a token and make my first authenticated call

Depends on the API

STS token endpoint

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

Confirm pick and pack from my 3PL warehouse system

Varies by client

PickPack/Confirm

Create returns for shoppers

logistics.returns.api.all

Outbound orders, orders, return orders

Before you begin

ESW provides your credentials through a secure channel during setup. Have these ready:

  • A sandbox client_id and client_secret

  • Your tenantCode. The Package API uses your brandCode instead

  • The 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 with brandCode, and the Returns API uses an identifier in 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.

  • metadataItems need agreement. Agree any key-value metadataItems with 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

Last updated

Was this helpful?