Openapi
Create an inventory location for an organization.
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 location payload.
application/jsondescription?|length <= 4000name*string1 <= length <= 240Returns the created inventory location.
application/jsoncreatedAt*stringdate-timedescription*string|nullid*inventoryLocationIdSchemauuidname*string1 <= length <= 240organizationId*organizationIdSchemauuidupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/inventory/locations' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z"}