Api usage
Introduction
Endpoints
- OAuth identity service https://identity.multicartshop.com
- Live Multicart API https://multicartshop.com
Client SDK libraries
Requests
All REST API supported this requests:
GET return resource type instance
POST create resource type instance
PUT modify resource type instance
PATH modify selected fields on resource type
DELETE delete resource type instance
Pagination
All REST endpoints support token-based pagination.
Status and error codes
All requests produce HTTP response status codes.
Authentication
All REST API queries require a valid OAuth JWT session access token.
Admin and Client APIs get tokens using OAuth endpoint. The flow of obtaining a session token is described in Authentication and authorization overview. To simplify the authentication process, use one of the recommended Multicart client libraries.
Include your token as a Authorization: Bearer [token]
header on all API queries. Using Multicart supported client libraries can simplify this process.
To keep the platform secure, apps need to request specific access scopes during the authentication process. Only request as much data access as your app needs to work.
Working with cart items
Overview of working with cart items
Pay purchase
To learn how to make a purchase, see the overview