Skip to main content

Bulk Supplier Inventory (deprecated)

POST 

/inventory/bulk/supplier

The bulk supplier inventory endpoint is used to create or update inventory records.

This endpoint is deprecated in favor of Bulk Inventory by lookup key / inventory type where you can use the same payload, but you need to set the lookup key param to supplierCode and the inventory type param to supplier.

On creating a record, inventory type supplier is matching the product on two fields: supplier and supplierCode. If the product is found, inventory record will be created.

For updating a record, matching fields are: supplier, supplierCode, warehouseId and location. Record is updated only when inventory record with all four matching fields is found, otherwise new record is created.

Available fields

NameRequired
quantity (integer)yes
supplier (string)yes
supplierCode (string)yes
warehouseId (integer)no
Default value is 0
location (string)no
Default value is empty
costPrice (integer)no
Default value is product costprice
nextDeliveryDate (date)no
notes (string)no

dateModified is always updated with the current date and time.

Request

Responses

Bulk Supplier Inventory - 200

Response Headers
    Alt-Svc
    Via
    alt-svc
    content-length
    date
    return-format
    server
    x-request-id