inventory/source-items

inventory/source-items

Find SourceItems by SearchCriteria We need to have this method for direct work with SourceItems because this object contains additional data like as qty, status (for example can be searchable by additional field)

query Parameters
searchCriteria[currentPage]
integer

Current page.

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[pageSize]
integer

Page size.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[sortOrders][0][field]
string

Sorting field.

Responses

Response samples

Content type
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

inventory/source-items

Save Multiple Source item data

Request Body schema:
required
Array of objects (inventory-api-data-source-item-interface)

Responses

Request samples

Content type
{
  • "sourceItems": [
    ]
}

Response samples

Content type
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}
➔ Next to inventory/source-items-delete