API Documentation

Inventory ItemsEdit Variation

Method: /items/variation/[id].[format]

The “id” to pass is the 7 digit numeric id returned in the “item_variations_locations” object. This data is found when you GET the data for a specific inventory item which has been setup in multiple locations (or has multiple variations).

Permissions Required:
  • Modify Inventory
Syntax:
https://[subdomain].salesbinder.com/api/2.0/items/variation/[id].json
HTTP Request Type: PUT
Example JSON Data to Submit
{
   "variation": {
      "quantity": 25
   }
}
Success:

If you have been successful in updating an item, the response will return the updated data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response
{
 "message": "Saved",
 "variation": {
  "id": 1487612,
  "item_variation_id": "5acfe362-0220-4585-8eab-052b0a8e0004",
  "item_id": "d18d0e72-f92f-4965-bfa1-199d8ddc9ac3",
  "location_id": "5b9eb355-465c-411b-8739-08670a8e0004",
  "quantity": 25,
  "quantity_reserved": 0,
  "threshold": 0,
  "in_transit": 0,
  "modified": "2021-12-20T22:43:33+00:00"
 }
}

Updated on February 4th, 2022

Network Status:
100% Global Availability