Update an item
PUT/api/v3/item/:item_id
This allows you to update an existing product. When updating a product, you can specify the pricing for multiple currencies if desired.
Request
- application/json
Body
Item name
Description
Enabled/disabled
Accounting SKU
Accounting Income Account
External key value
Units string
Custom field value #1
Custom field value #2
Custom field value #3
Custom field value #4
Custom field value #5
Custom field value #6
Custom field value #7
Custom field value #8
Custom field value #9
Custom field value #10
Custom field value #11
Custom field value #12
Custom field value #13
Custom field value #14
Custom field value #15
Custom field value #16
Custom field value #17
Custom field value #18
Custom field value #19
Custom field value #20
Responses
- 202
- 400
- 401
Object was updated successfully
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
response
object
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": {
"id": 0
}
}
{
"code": 201,
"status": "OK",
"message": "",
"details": {},
"response": {
"id": 1234
}
}
Bad request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 400,
"status": "Error",
"message": "Missing or invalid parameter.",
"details": {},
"response": false
}
Authentication error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 401,
"status": "Error",
"message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
"details": {},
"response": false
}