ReDoc documentation
Find Stocks by given SearchCriteria SearchCriteria is not required because load all stocks is useful case
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "stock_id": 0,
- "name": "string",
- "extension_attributes": {
- "sales_channels": [
- {
- "type": "string",
- "code": "string",
- "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 Stock data
required | object (inventory-api-data-stock-interface) Represents product aggregation among some different physical storages (in technical words, it is an index) Used fully qualified namespaces in annotations for proper work of WebApi request parser |
200 Success.
400 Bad Request
401 Unauthorized
Unexpected error
{- "stock": {
- "stock_id": 0,
- "name": "string",
- "extension_attributes": {
- "sales_channels": [
- {
- "type": "string",
- "code": "string",
- "extension_attributes": { }
}
]
}
}
}
0