Warehouse API
New Merchant
Creates a new merchant user and returns API credentials for that merchant.
Post Fields
| Field | Data Type | Length | Required? | Description |
|---|---|---|---|---|
| name | String | 80 | Y | Name of Merchant |
| user | Array | N | Optionally create a new user for this merchant. User will receive a password setup email. | |
| wms_params | Array | Array of WMS param values to set for this merchant. You can get a list of valid values from the merchant section of the /wms/params endpoint. |
User Array
| Field | Data Type | Length | Required | Description |
|---|---|---|---|---|
| String | 255 | Y | User email | |
| name | String | 45 | Y | User Name |
Array Response Fields
| Field | Data Type | Length | Description |
|---|---|---|---|
| api_user | String | API User for new Merchant | |
| api_key | String | API Key for new Merchant |
post/v1/wms/merchant
Request
- Base URLhttp://{{base_url}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring
Request body */*
string required
Example request
"\"{\\r\\n \\\"name\\\": \\\"Test API Merch\\\"\\r\\n}\""Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.