Collect
Adds a product to a custom collection.
Create a new link between an existing product and an existing collection.
post/admin/collects.json
Request
- Base URLhttps://shop-name.onshopbase.com
- AuthAPI key in header APP_ACCESS_TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"collect": {
"collection_id": 86733558492,
"product_id": 16011
}
}Response
OK
Example response
{
"collect": {
"collection_id": 86733558492,
"id": 5435,
"position": 2,
"product_id": 16011,
"sort_value": "0000000002"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.