Assign the product to a specific Vendor on the marketplace
200 Success.
{- "vendor_ids": [
- 1
]
}
{- "success": true,
- "message": "Assigned product 9527 to vendors"
}
Update the product inventory to specific Vendor's Location / Warehuse on the marketplace
200 Success.
{- "inventories": [
- {
- "location_id": 2,
- "qty": 100
}
]
}
{- "success": true,
- "message": "product 9527 inventory updated"
}
Get inventory for a specific vendor
curl --location --globoff 'https://your-marketplace-host/rest/V1/inventory/source-items?searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[currentPage]=1&searchCriteria[pageSize]=10&searchCriteria[filterGroups][0][filters][0][field]=sku&searchCriteria[filterGroups][0][filters][0][value]={example-sku}'
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "sku": "string",
- "source_code": "string",
- "quantity": 0,
- "status": 0
}
], - "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
}