ReDoc documentation

inventory/source-items

inventory/source-items

get/V1/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)

Request
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
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

inventory/source-items

post/V1/inventory/source-items

Save Multiple Source item data

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

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "sourceItems": [
    ]
}
Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}