Create a cart

Initializes a shopping cart with a selected eSIM package.

This is the first step in the checkout flow for new eSIM purchases. It reserves the package and generates a cart_key which you will use in the final submission step.

Date rules:

  • Both start_date and end_date are required.
  • start_date must be today or in the future.
  • end_date must be after start_date.
  • The number of days between start_date and end_date must not exceed the package validity_days returned by GET /esim/destination/{destination_code}/packages.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

ID of the eSIM package to add.

string
required

ISO2 code of the destination.

date
required

Start date of the eSIM activation (YYYY-MM-DD). Must be today or in the future.

date
required

End date of the eSIM activation (YYYY-MM-DD). Required; must be after start_date.
The day span between start_date and end_date must not exceed the package validity_days.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json