Inventory
Link a vendor to an item
Record that this vendor can supply this item, and on what terms.
Both sides are re-checked against the merchant, so a vendor id from one tenant can never be attached to another tenant's stock.
Authorization
HTTPBearer AuthorizationBearer <token>
JWT access token
In: header
Path Parameters
vendor_id*string
Format
uuidQuery Parameters
merchant_id?|
Optional merchant to act on. Must be one you are a member of.
Format
uuidHeader Parameters
X-Merchant-ID?string|null
Request Body
application/json
automatic_ordering_enabled?boolean
Default
trueinventory_item_id*string
Format
uuidis_preferred?boolean
Default
falseminimum_order_quantity?number
Range
0 <= valueDefault
0unit_price?number
Range
0 <= valueDefault
0vendor_sku?string
Length
length <= 64Default
""Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/vendors/497f6eca-6276-4993-bfeb-53cbbbba6f08/supplies" \ -H "Content-Type: application/json" \ -d '{ "inventory_item_id": "18dd3e9a-1adb-4867-99a3-0bde9f26475c" }'{ "data": {}, "meta": {}, "success": true}