ShopGo
1.0.0
1.0.0
  • Welcome
  • Developer Guides
    • Order Processing
    • Webhooks
      • Calculate Shipping Rates
  • Management API
    • Introduction
    • Authentication
      • Using User API Key
      • Using Platform API Key
    • Authorization
    • Objects
      • Primitives
      • Order
      • Payment
      • Shipment
      • Purchase
      • Adjustment
      • Charge
      • Attribute
    • API Endpoints
  • Platform API
    • Introduction
    • Authentication
    • Objects
    • API Endpoints
      • Tenant
Powered by GitBook
On this page
  • Requests
  • Responses

Was this helpful?

  1. Management API

Introduction

PreviousCalculate Shipping RatesNextAuthentication

Last updated 4 years ago

Was this helpful?

Requests

All requests must be in application/json.

With the exception of few named endpoints, all requests must include authentication headers as described in .

Responses

All responses are in application/json.

Request results are indicated using the appriopriate HTTP status codes, as well as an additional result field. Here are two examples ...

Example Response (🟢 Success)

HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json
Date: Sat, 09 Jan 2021 22:00:57 GMT
Server: nginx/1.17.10 (Ubuntu)
Vary: Cookie
X-Frame-Options: SAMEORIGIN

{
    "result": "success",
    "payload": <Payload>
}

where <Payload> is a JSON object containing endpoint call results.

Example Response (🔴 Error)

HTTP/1.1 400 Bad Request
Connection: keep-alive
Content-Type: application/json
Date: Sat, 09 Jan 2021 22:01:49 GMT
Server: nginx/1.17.10 (Ubuntu)
Vary: Cookie
X-Frame-Options: SAMEORIGIN

{
    "result": "error",
    "description": "explanation of what went wrong"
}
Authentication