Firstbase API
  • INTRODUCTION
    • REST API
    • Use Cases
      • User Management
      • Asset Management
      • Catalog and Ordering
  • GETTING STARTED
    • Generating your API Key
    • Authentication
    • Making requests
    • Pagination
    • Rate Limiting
    • Deprecations - WIP
    • Filtering - WIP
  • API Reference
    • Catalog
      • Skus
    • Inventory
      • Tags
      • Assignment
      • Archive
    • Orders
    • Shipments
    • Packages
    • Users
    • Specification
Powered by GitBook
On this page
  1. API Reference
  2. Inventory

Assignment

PreviousTagsNextArchive

Update assignee for Inventory

post
Authorizations
Path parameters
inventoryIdstring · uuidRequired

Id of SKU

Example: 203a5df2-423a-43a9-bb19-1ccaf3434b91
Query parameters
assigneeTypestring · enumRequired

Keyword to search for

Example: PERSON,OFFICEPossible values:
targetIdstring · uuidRequired

The ID of the person/office to assign the item to

Example: 00000000-0000-0000-0000-000000000000
Responses
200
OK
application/json
400
Bad request
application/json
403
Forbidden
*/*
404
Not Found
*/*
post
POST /api/inventory/{inventoryId}/assignment HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "371da231-5878-45b1-80a3-9113f8795c29",
  "type": "PERSON",
  "label": "San Francisco's office",
  "assignedAt": "2025-06-06T18:58:45.153Z"
}