inventory/supplier/edit
POST
/inventory/supplier/editThis edits a supplier in the Equotix One account.
Request
Body Params application/json
domain
string
required
The domain you are assigned to authenticate your Equotix One account.
api_key
string
required
The email address assigned to the user account in your Equotix One.
auth_timestamp
integer
required
The unix timestamp used to sign this API request.
auth_signature
string
required
The calculated signature for this API request.
supplier_id
integer
required
The supplier ID to edit.
name
string
required
The name of the supplier.
channel_group_id
integer
required
The channel group ID for restriction control. Accepts 0 if none.
firstname
string
required
Supplier first name.
lastname
string
required
Supplier last name.
email
string
required
Supplier email.
telephone
string
required
Supplier telephone.
address_1
string
required
Supplier address 1.
address_2
string
required
Supplier address 2.
city
string
required
Supplier city.
postcode
string
required
Supplier postcode.
zone
string
required
Supplier zone.
country
string
required
Supplier country.
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"supplier_id": 0,
"name": "string",
"channel_group_id": 0,
"firstname": "string",
"lastname": "string",
"email": "string",
"telephone": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"postcode": "string",
"zone": "string",
"country": "string"
}
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
array[string]
optional
Returns only if there is an error.
success
boolean
optional
Returns only if there is no error.
supplier_id
integer
optional
The edited supplier ID.
Example
{
"error": [
"string"
],
"success": true,
"supplier_id": 0
}
Last modified: 4 months ago