Inventory Update

PUT https://api.ecartapi.com/api/v2/locations/{{id}}/inventories/{{inventoryId}}

Searches for the selected customer and shows detailed information.

Important information:

Request Body

{"inventory"=>{"available"=>"2"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"success":true,"inventory":{"id":"29826869854282","locationId":"32095207498","quantity":"2","dates":{"createdAt":null,"updatedAt":"2019-12-20T13:41:39-05:00"},"ecartapiUrl":null}}