action vtex_post_api_catalog_pvt_subcollection_sub_collection_id_brand { label: "Associate Brand to Subcollection" description: " >⚠️ There are two ways to configure collections, through Legacy CMS Portal or using the Beta Collection module. This endpoint is compatible with [collections configured through the Legacy CMS Portal](https://help.vtex.com/en/tutorial/adding-collections-cms--2YBy6P6X0NFRpkD2ZBxF6L).\n\nAssociates a single Brand to a Subcollection, which is a [Group](https://help.vtex.com/en/tutorial/adding-collections-cms--2YBy6P6X0NFRpkD2ZBxF6L#group-types) within a Collection. \n## Request body example \n \n```json \n{ \n \"BrandId\": 2000000 \n} \n``` \n \n## Response body example \n \n```json \n{ \n \"SubCollectionId\": 17, \n \"BrandId\": 2000000 \n} \n```" provider: vtex method: POST path: "/api/catalog/pvt/subcollection/{subCollectionId}/brand" encoding: json input: { type: "object" properties: { Accept: { type: "string" } BrandId: { type: "integer" description: "Unique identifier of a Brand." } "Content-Type": { type: "string" } subCollectionId: { type: "integer" } } required: ["Accept", "BrandId", "Content-Type", "subCollectionId"] additionalProperties: false } output: { type: "object" properties: { BrandId: { type: "integer" description: "Unique identifier of the Brand." } SubCollectionId: { type: "integer" description: "Subcollection’s unique numerical identifier." } } } }