Skip to main content

API Reference

The LaunchMyStore API is a REST API that allows you to manage store data including products, orders, customers, and more.

Base URL

Authentication

All API requests require authentication via OAuth 2.0 access tokens:
See Authentication for details on obtaining tokens.

Request Format

  • All requests should include Content-Type: application/json
  • Request bodies should be valid JSON
  • Date fields use ISO 8601 format (2024-01-15T10:30:00Z)
  • Monetary values on standard commerce resources (products, orders, customers) are decimal strings (e.g., "10.00"). The only cents values are fields whose name explicitly says so (e.g., app-billing capAmountCents).

Response Format

Most endpoints return a standard JSON envelope. Some resources (for example orders and products) instead return a bare response body — the resource(s) under a top-level key (order / orders, product / products) with pagination carried in a Link response header. Each response also advertises the contract version via the X-LMS-Api-Version header. Check the page for the resource you’re calling to see which shape it uses.

Success Response (standard envelope)

The state field is success, error, info, or warning. Single-resource responses leave count and pagination as null.

List Response (standard envelope)

Bare Response

Error Response

Errors return a standard { errors } body, where each key maps to an array of messages (base is used for general errors):
Validation failures group messages per field:

Pagination

List endpoints that return the standard envelope accept these parameters and report totals under pagination:
Endpoints that return the bare response body convey paging through the RFC-5988 Link header (rel="next" / rel="previous") instead of a body field.

Filtering

Many endpoints support filtering. Supported filters vary per resource — see the individual endpoint pages for the exact query parameters each accepts (unrecognized parameters are ignored):

Rate Limits

Rate limits are based on your app’s billing tier: Rate limit headers are included in every response:
When rate limited, you’ll receive a 429 Too Many Requests response.

Error Codes

Errors are signalled by the HTTP status code; the response body is the { errors } object described above (there is no separate machine-readable error-code string).

Versioning

The API version is included in the URL path. The current version is v1. Breaking changes will be released in new versions (e.g., v2). We’ll provide at least 12 months notice before deprecating old versions.

Resources

Products

Manage products and variants

Orders

Process and fulfill orders

Customers

Manage customer data

Inventory

Track inventory levels

Collections

Organize products

Discounts

Create discount codes