Openapi
Create a bin at a location, or change the code, name, hold flag, or active state of an existing bin.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe inventory bin payload.
application/jsonactive?booleancode*string1 <= length <= 40hold?booleanid?stringuuidlocationId*inventoryLocationIdSchemauuidname?|length <= 240Returns the saved bin.
application/jsonactive*booleancode*string1 <= lengthhold*booleanid*stringuuidlocationId*inventoryLocationIdSchemauuidname*string|nullcurl -X POST 'https://app.localhost/api/v1/organizations/123/inventory/bins' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54"}'{ "active": true, "code": "string", "hold": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54", "name": "string"}