post
https://{store}/api/rest/product/link
Endpoint used to link products together for Cross Sell, Up Sell, Related.
| Parameter | Type | Description |
|---|---|---|
type | string | 'related', 'up_sell', 'cross_sell', 'grouped'. Required |
produt_id | string | ID of Product to be linked to. (parent). Required |
linked_product | string | ID of Product being linked. (child). Required |
data | array | array of link data. Optional |
data.position | int | The sort order of the linked product. Optional |
identifier_type | string | If set to 'sku', then set sku to product_id instead of id. Optional |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200OK (no example documented yet)
