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).

    Fields:
    Name:Data Type:Description:
    quantityNumericQuantity On Hand
    thresholdNumericLow Quantity Threshold
    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
    1{
    2   "variation": {
    3      "quantity": 25
    4   }
    5}
    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
    1{
    2 "message": "Saved",
    3 "variation": {
    4  "id": 1487612,
    5  "item_variation_id": "5acfe362-0220-4585-8eab-052b0a8e0004",
    6  "item_id": "d18d0e72-f92f-4965-bfa1-199d8ddc9ac3",
    7  "location_id": "5b9eb355-465c-411b-8739-08670a8e0004",
    8  "quantity": 25,
    9  "quantity_reserved": 0,
    10  "threshold": 0,
    11  "in_transit": 0,
    12  "modified": "2021-12-20T22:43:33+00:00"
    13 }
    14}

    Updated on February 4th, 2022

    Network Status:
    100% Global Availability