Master API

New Warehouse Sub Account

Create a new Warehouse / 3PL account.

Post Fields

FieldData TypeLengthRequired?Description
companyArrayYCompany details
userArrayNOptionally create a new user for this warehouse.
wmsArrayNOrder Destination Info

Company Array

FieldData TypeLengthRequiredDescription
companyString45YCompany Name
phoneString45NCompany Phone Number

User Array

FieldData TypeLengthRequiredDescription
nameString45YUser Name
emailString255YUser email
passwordString45NAccount activation will be sent if you send the user object with no password.
repeat_passwordString45NMust match the password

wms Array

FieldData TypeLengthRequiredDescription
wms_nameStringYWhich WMS should be setup?
wms_paramsArrayNArray of WMS level param values to set for this account. You can get a list of valid values from the wms section of the /wms/params endpoint. NOTE: This section only usable by independant Merchant accounts, not ones that belong to a warehouse account.

Array Response Fields

FieldData TypeLengthDescription
warehouse_pkIntUnique identifier for this warehouse account
post/v1/master/warehouse

Request

Headers

Content-Typestring

Request body */*

string required

Example request

"\"{\\r\\n  \\\"company\\\": {\\r\\n      \\\"company\\\": \\\"My Company Name\\\",\\r\\n      \\\"phone\\\": \\\"1-805-399-2278\\\"\\r\\n  },\\r\\n  \\\"user\\\": {\\r\\n      \\\"name\\\": \\\"Mrs. Bigglesworth\\\",\\r\\n      \\\"email\\\": \\\"biggle@evil.com\\\",\\r\\n      \\\"password\\\": \\\"Optional Password\\\",\\r\\n      \\\"repeat_password\\\": \\\"Optional Password\\\"\\r\\n  }\\r\\n}\""

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.