Content & StorefrontUrls
Resolve managed storefront links in a batch
Updates product and category links to their current public URL. Preserves external URLs, query strings, fragments and input order. Accepts up to 100 links.
Header Parameters
x-Store-Domain*string
Slug of the store or one of its configured domains, such as my-store.
Length
1 <= length <= 253Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://storefront.ecomiq.pe/v1/urls/links" \ -H "x-Store-Domain: my-store" \ -H "Content-Type: application/json" \ -d '{ "links": [ { "url": "https://mi-tienda.ecomiq.app/products/polo-de-algodon", "reference": { "type": "product", "id": "7204558912004327977" } } ] }'{ "links": [ { "url": "https://mi-tienda.ecomiq.app/products/polo-de-algodon", "reference": { "type": "product", "id": "7204558912004327977" } } ]}