Developer API
Developer API
Authorization
Requests & Responses
Tutorial Testing API
Category
Product
Variant
Customer
Delivery
Report
Orders
Outlet Price
Buy
Adjustment
Promotion Coupon
Inventory
Notification
Powered by Stoplight

REQUEST & RESPONSES

This section provides examples of RESTful HTTP Request and Response.

Making Requests

Go to each API section and see the parameters required and endpoint for each kind of request, request examples are also available in several programming languages.

For create requests and update requests, you need to specify the body format to JSON in order to make a successful request.

To make a valid request, the client needs to include four things:

  1. URL ( Uniform Resource Locator)
  2. Method
  3. Headers
  4. Body

Standard Response Codes

The HTTP status code list consists of:

  • 2xx: Success - The action was successfully received, understood, and accepted
  • 4xx: Client Error - The request contains bad syntax or cannot be fulfilled
  • 5xx: Server Error - The server failed to fulfill an apparently valid request
Example Response Codes

200 OK

{ “ID”: “0eaa99a3-6cd1-4c8b-87d1-60ba4a5606e6” }