Endpoints
3PL exposes a few endpoints to perform various programmatic tasks. They are detailed below.
The base URL for all 3PL calls is: https://3pl.zquared.com/api/v1
#
StoresThis endpoint shows stores associated with your account. A store within 3PL consists of a storage warehouse(s) for products, and a sales channel(s) through which that product is sold.
GET /stores
#
ReturnsReturns an array
of stores associated with your account.
RESPONSE
#
Submit New OrdersThis endpoint is for submitting order data manually to Zquared 3PL.
POST /orders
- Successful Response
- Error Response
An example of a success message returned by the API. The statusCode
will be set to 0
. details
may or may not contain extra information. response
will include an array of successfully submitted order numbers.
RESPONSE
An example of an error message returned by the API. The statusCode
and details
may change to reflect various types of errors.
RESPONSE
#
Update Order AttachmentsThis endpoint is for submitting attachments to an order already in the system. Submitted attachments are added to existing attachments in the system for an order, or if the label
key is identical, the existing document in the system is replaced.
PATCH /orders/:orderNumber
- Successful Response
- Error Response
An example of a success message returned by the API. The statusCode
will be set to 201
. details
may or may not contain extra information.
RESPONSE
An example of an error message returned by the API. The statusCode
and details
may change to reflect various types of errors.
RESPONSE
#
Inventory QuantitiesThis endpoint shows inventory values for a particular channel.
GET /inventory/:warehouseId
#
Parameters- warehouseIdrequired
The warehouse Id from the warehouse that contains inventory
#
ReturnsReturns an array
of skus and related inventory values.
#
Example Call/inventory/XYZ123
RESPONSE