Skip to main content
GET
/
inventory-sources
/
{sourceId}
/
modular
/
work-items
/
{workItemId}
Get modular source work item
curl --request GET \
  --url https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/work-items/{workItemId} \
  --header 'Authorization: Bearer <token>'
{
  "item": {
    "id": "<string>",
    "storefrontId": "<string>",
    "inventorySourceId": "<string>",
    "moduleId": "<string>",
    "title": "<string>",
    "description": "<string>",
    "resourceType": "<string>",
    "resourceId": "<string>",
    "mediaBuyId": "<string>",
    "buyerCustomerId": 0,
    "assignedTo": "<string>",
    "dueAt": "2023-11-07T05:31:56Z",
    "payload": {},
    "result": {},
    "blockedReason": "<string>",
    "createdByType": "<string>",
    "createdById": "<string>",
    "completedBy": "<string>",
    "completedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "events": [
    {
      "id": "<string>",
      "workItemId": "<string>",
      "eventType": "<string>",
      "actorType": "<string>",
      "actorId": "<string>",
      "notes": "<string>",
      "payload": {},
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

sourceId
string
required

Inventory source ID

Minimum string length: 1
workItemId
string
required

Inventory source work item id

Minimum string length: 1

Response

Get modular source work item

item
object
required

Seller-facing work item for a modular inventory source lifecycle task.

events
object[]
required