Error
A valid request URL is required to generate request examples{
"surface_id": "<string>",
"anchor_type": "<string>",
"anchor_id": "<string>",
"market_id": "<string>",
"pins": [
{
"pinned_id": "<string>",
"pinned_level": "<string>",
"position": 123,
"legacy_pinned_id": "<string>",
"foundation_pinned_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_pinned_product_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_pinned_variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"legacy_anchor_id": "<string>",
"foundation_anchor_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_anchor_product_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_anchor_variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Save one pin set of a surface
Saves one pin set of a surface: the body is the complete set for one (anchor_type, anchor_id, market_id), and the stored pins for that set are reconciled to it (added, moved, removed); an empty pins clears the set. Other sets are untouched. Side effect: queues a background recompute of the surface. Returns the saved set.
PUT
/
recommendations
/
surfaces
/
{surface_name}
/
pins
Error
A valid request URL is required to generate request examples{
"surface_id": "<string>",
"anchor_type": "<string>",
"anchor_id": "<string>",
"market_id": "<string>",
"pins": [
{
"pinned_id": "<string>",
"pinned_level": "<string>",
"position": 123,
"legacy_pinned_id": "<string>",
"foundation_pinned_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_pinned_product_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_pinned_variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"legacy_anchor_id": "<string>",
"foundation_anchor_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_anchor_product_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"foundation_anchor_variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Body
application/json
anchor_type is one of any, category, lvl1, lvl2, lvl3.
Response
The saved set.
Was this page helpful?

