{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account SKU Attachment API", "version": "1.0" }, "items": [ { "info": { "name": "SKU Attachment", "type": "folder" }, "items": [ { "info": { "name": "VTex Associate SKU attachment", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/catalog/pvt/skuattachment", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Associates an existing SKU to an existing attachment.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n" }, { "info": { "name": "VTex Dissociate attachments and SKUs", "type": "http" }, "http": { "method": "DELETE", "url": "https://{providerApiEndpoint}/api/catalog/pvt/skuattachment", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "skuId", "value": "", "type": "query", "description": "SKU ID. By using this query param, you can dissociate all the attachments from an SKU based on its SKU ID." }, { "name": "attachmentId", "value": "", "type": "query", "description": "Attachment ID. By using this query param, you can dissociate the given attachment from all previously associated SKUs." } ] }, "docs": "Dissociates attachments and SKUs based on an SKU ID or an attachment ID.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for" }, { "info": { "name": "VTex Get SKU attachments by SKU ID", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/catalog/pvt/stockkeepingunit/:skuId/attachment", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "skuId", "value": "", "type": "path", "description": "SKU unique identifier." } ] }, "docs": "Retrieves existing SKU attachments by SKU ID.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Prod" }, { "info": { "name": "VTex Delete SKU attachment by attachment association ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://{providerApiEndpoint}/api/catalog/pvt/skuattachment/:skuAttachmentAssociationId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "skuAttachmentAssociationId", "value": "", "type": "path", "description": "ID of the association between the attachment and the SKU, which corresponds to the `Id` in the response body of the [Associate SKU attachment](https://developers.vtex.com/vtex-rest-api/reference/catalog-api-post-sku-attachment) and the [Get SKU attachment by SKU ID](https://developers.vtex.com/vtex-rest-api/reference/get_api-catalog-pvt-stockkeepingunit-skuid-attachment) endpoints." } ] }, "docs": "Deletes the association of an SKU to an attachment.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| " }, { "info": { "name": "VTex Associate attachments to an SKU", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/catalog_system/pvt/sku/associateattachments", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Associates attachments to an SKU based on a given SKU ID and attachment names.\n\rThis request removes existing SKU attachment associations and recreates the associations with the attachments being sent.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be abl" } ] } ], "bundled": true }