ReDoc documentation
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)
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "sku": "string",
- "source_code": "string",
- "quantity": 0,
- "status": 0,
- "extension_attributes": { }
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
Save Multiple Source item data
required | Array of objects (inventory-api-data-source-item-interface) |
400 Bad Request
401 Unauthorized
Unexpected error
{- "sourceItems": [
- {
- "sku": "string",
- "source_code": "string",
- "quantity": 0,
- "status": 0,
- "extension_attributes": { }
}
]
}
{- "message": "string",
- "errors": [
- {
- "message": "string",
- "parameters": [
- {
- "resources": "string",
- "fieldName": "string",
- "fieldValue": "string"
}
]
}
], - "code": 0,
- "parameters": [
- {
- "resources": "string",
- "fieldName": "string",
- "fieldValue": "string"
}
], - "trace": "string"
}