Bulk Links by lookup key
POST/links/bulk/:lookupKey
The bulk endpoints offer an efficient way of importing/updating large amounts of links with just a single API call. When using the bulk id
endpoint, the link resources are identified by Propeller id
. If a link for resources with such id
doesn't already exist, it will be created. If it does exist, it will be updated.
When using the bulk sourceId
endpoint, the link resources are identified by Propeller sourceId
and source
.
Fields
Name | Required |
---|---|
type | yes |
subtype | yes |
isDefault | no Defaults to false |
isActive | no Defaults to true |
from | yes |
to | yes |
priority | no Default to 0 |
Request
Responses
- 200
- 400
Bulk Links by Id - 200 / Bulk Links by Id - 200 (Product cross/upsell use case) / Bulk Links by sourceId - 200 (Product cross/upsell use case)
Response Headers
Connection
Content-Length
Date
Keep-Alive
Return-Format
Bulk Links by lookup key - 400 (invalid lookup key) / Bulk Links by sourceId - 400 (schema validation error)
Response Headers
Connection
Content-Length
Date
Return-Format