-
Notifications
You must be signed in to change notification settings - Fork 132
EDU-11961 | Map seller specifications to marketplace catalog #1455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Thanks for your contribution. The .json file will be checked now with Spectral. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrigir as referências do parâmetro Content-type
.
"Multiple product specification mapping" | ||
], | ||
"summary": "Map seller specifications to marketplace catalog", | ||
"description": "This endpoint allows the seller to perform a bulk mapping of product specifications to the marketplace catalog.\r\n\r\nSpecifications are additional properties that can be registered on products. To ensure this information is correctly interpreted, the marketplace must map the seller\u2019s specifications to the corresponding fields in its own catalog.\r\n\r\nThis process ensures that products sent by the seller contain data that matches the marketplace's catalog. Sending a new item without prior mapping does not override existing values. Adding new specifications must follow the instructions in the Mapping categories, brands, and specifications for the marketplace guide.\r\nThe mapping must be done based on specifications that already exist in the marketplace's catalog.\r\n\r\n\uD83D\uDD39 All differing specifications must be mapped, even if the only difference is the capitalization of the word.\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| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| Catalog | Content | **Product and SKU Management** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>\u2757 To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Substituir por caracteres e emojis: u2019s
, uD83D\uDD39
, u2757
.
}, | ||
"description": "Key-value pairs where the key is the seller's specification name and the value is the equivalent specification in the marketplace." | ||
}, | ||
"example": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conforme nosso template, o exemplo do request body vem dentro do schema, separamos o exemplo completo somente no response body.
https://github.com/vtex/openapi-schemas/edit/master/templates/VTEX%20-%20Template%20openAPI.jsonc
"BROWN": "Marrom", | ||
"Brand": "Marca" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Traduzir termos em PT para EN.
"description": "OK" | ||
} | ||
}, | ||
"deprecated": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remover.
} | ||
} | ||
}, | ||
"responses": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se aplicável, declarar schema da response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request changes
Types of changes
Changelog
Do not forget to update your changes to our Developer Portal's changelog. Did you create a release note?