Once a style library has been created on JOOR using the Style POST API, inventory to the SKU level can be updated at the client’s discretion. The Style Inventory call updates inventory counts and makes it immediately available to customers placing orders on the JOOR platform. By using the “overwrite” parameter, inventory can be overwritten completely for the account. This will replace the inventory values with those in the API call. If not using overwrite, only those style/color/sizes specified in the API call will be updated.

JOOR recommends using the UPC to define the Style-Color-Size combination for which to update inventory.

Alternatively, you can uniquely identify the Style-Color-Size to update inventory for using any individual style, color, and size fields of the following combinations:

STYLECOLORSIZE
Style number and style identifierColor codeSize name
JOOR Style IDJOOR Style Color IDSize code

🚧

Warehouses

The warehouse sent in an inventory update must be set up in the Order Settings of the account prior to sending the API call to update inventory.

If warehouse is not included, the inventory will load to the Default warehouse.

If a warehouse is included in the API call that is not set up in the Order Settings page, the API call may experience unexpected results, such as not updating inventory accurately.

👍

Endpoints

POST

PUT

Params

  • Accept: application/xml OR application/json
  • Content-Type: application/xml OR application/json
  • Authorization: OAuth2 [Base64 encoded token]

📘

dec_pending parameter

By default, the pending stock level in the system isn't taken into account when updating the available stock level.

Use of the dec_pending allows specifying whether or not stock on pending orders should be deducted from any new incoming quantity to populate the available to sell.

Value of "1" makes pending quantities deducted from incoming quantities.

Value of "0" makes incoming quantities as available to sell quantities in JOOR without any deduction.

If not included in the request, the default behavior is dec_pending = 0