Catalog API Create SKU File only work with an URL
Catalog
•
ID: 503153
Fixed
Published on10/26/2022
•
Last updated on11/25/2022
1 min read
Summary
The Catalog API Create SKU File only work with Option 1 ( send an image through URL)
https://{accountName}.{environment}.``com.br/api/catalog/pvt/stockkeepingunit/skuId/file
Simulation
-
Go to https://developers.vtex.com/vtex-rest-api/reference/catalog-api-sku-file#catalog-api-post-sku-file
-
At
BODY PARAMS
selectOption 2
and upload an image -
Copy the cURL and send the POST
-
Get the response message:
{ "Message": "Field Url is required"}
Workaround
There is no workaround