openapi: 3.0.1 info: title: Canto PIM bulk_products_catalogs product_channel_template_products API description: "\n[Canto APIs](https://api.canto.com) enable seamless synchronization between the PIM + DAM and external systems that rely on accurate, up-to-date product content. \nThe API outlined here provides programmatic access to Canto’s Product Hub (PIM). The Product Hub API allows authorized systems to create, retrieve, update, and manage rich product data for use across digital channels, e-commerce platforms, and other target or source systems. \n \nKey Capabilities
\nThe Canto Product Hub API enables full product data management:\n1. Product Record Management: Create, read, update, and delete product entries including structured metadata, taxonomy, categories, and references.\n2. Attribute & Schema Configuration: Access and manage custom product attributes and classification structures\n3. Webhooks: Trigger updates or publish product datasets to downstream systems and integration pipelines.\n \nAPI Design\n- The PIM API adheres to RESTful principles, supporting standard HTTP methods (GET, POST, PUT, PATCH, DELETE).\n- JSON is the default payload format for both requests and responses.\n\nHTTP Status Code Conventions
\nBelow are general HTTP codes applicable across most endpoints:
\n- 200, 201, 204 – Successful operations (retrieval, creation, update, deletion).\n- 400 – Bad request. Input payloads did not conform to the expected schema or required parameters were missing.\n- 401 / 403 – Authentication or authorization failed.\n- 404 – The route or resource was not found.\n- 409 – Conflict in resource state (e.g., duplicate product identifier).\n- 429 - Too many requests. See Rate Limits below.\n- 500 – An unexpected server error occurred.\n- 502 / 503 / 504 – Infrastructure issues such as load balancer, service unavailability, or timeouts.\n\nAPI Rate Limits
\nRate limits are how many API calls you can make in a given time frame. If your call exceeds the pre-defined rate limit, you will run into a “429” http error-code. After which, you will need to wait until you can make another API call.\n\nPIM API Rate Limit: 5 requests/second\n" version: v1.0.1 servers: - url: https://{tenantSubdomain}.{region}/api/v1/pim/ variables: tenantSubdomain: default: demo region: enum: - canto.com - canto.global - canto.de - au.canto.com - ca.canto.com default: canto.com security: - bearerAuth: [] tags: - name: product_channel_template_products description: 'Manage products associated with product channel templates. ' paths: /product_channel_templates/{product_channel_template_id}/products: get: tags: - product_channel_template_products summary: Get Product Channel Template Products description: ' List products in a specific product channel template ' operationId: get_api_v1_product_channel_templates_product_channel_template_id_products parameters: - name: product_channel_template_id in: path description: Product Channel Template ID required: true schema: type: number responses: '200': description: Successfully fetched Products headers: page-items: description: Number of items per page schema: type: integer link: description: Standard link header defined in RFC 8228. Contains links for first, last, next, and prev pages with respective `rel` attributes schema: type: string current-page: description: Current page number schema: type: integer total-count: description: Total number of items schema: type: integer total-pages: description: Total number of pages schema: type: integer content: '*/*': schema: type: object properties: products: type: array description: Array of Products in this Channel Template items: type: object properties: id: type: integer description: Product ID product_category_id: type: integer description: Product category ID product_type_id: type: integer description: Product type ID has_variants: type: boolean description: Whether the product has variants dimension1_id: type: integer nullable: true description: First dimension ID dimension2_id: type: integer nullable: true description: Second dimension ID dimension3_id: type: integer nullable: true description: Third dimension ID created_at: type: string format: date-time description: Creation timestamp updated_at: type: string format: date-time description: Last update timestamp user_id: type: string description: User ID associated with the product product_custom_attributes: type: array description: Array of general custom attributes for the product items: type: object properties: name: type: string description: Attribute name value: type: string description: Attribute value data_type: type: string description: Data type of the attribute product_custom_attribute_id: type: integer description: Custom attribute ID product_attribute_group_id: type: integer nullable: true description: Attribute group ID variants: type: array description: Array of product variants items: type: object properties: id: type: integer description: Variant ID dimension_options: type: object description: Dimension options for the variant properties: primary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID secondary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID tertiary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID additionalProperties: false '400': description: The request parameters were invalid content: {} '401': description: User is not permitted to use the API or Authentication is invalid content: {} '404': description: Product Channel Template ID not found content: {} '500': description: Something went wrong content: {} post: tags: - product_channel_template_products summary: Add a single Product to a Channel Template description: ' Add a single Product to a Channel Template. If you wish to add multiple products, use the bulk endpoint instead. ' operationId: post_api_v1_product_channel_templates_product_channel_template_id_products parameters: - name: product_channel_template_id in: path description: Product Channel Template ID required: true schema: type: number requestBody: content: application/json: schema: required: - product_id type: object properties: product_id: type: integer description: Product ID to add to the channel template example: 1 required: true responses: '200': description: Successfully added the product to the channel template content: '*/*': schema: type: object properties: id: type: integer description: Product ID product_category_id: type: integer description: Product category ID product_type_id: type: integer description: Product type ID has_variants: type: boolean description: Whether the product has variants dimension1_id: type: integer nullable: true description: First dimension ID dimension2_id: type: integer nullable: true description: Second dimension ID dimension3_id: type: integer nullable: true description: Third dimension ID created_at: type: string format: date-time description: Creation timestamp updated_at: type: string format: date-time description: Last update timestamp user_id: type: string description: User ID associated with the product product_custom_attributes: type: array description: Array of general custom attributes for the product items: type: object properties: name: type: string description: Attribute name value: type: string description: Attribute value data_type: type: string description: Data type of the attribute product_custom_attribute_id: type: integer description: Custom attribute ID product_attribute_group_id: type: integer nullable: true description: Attribute group ID variants: type: array description: Array of product variants items: type: object properties: id: type: integer description: Variant ID dimension_options: type: object description: Dimension options for the variant properties: primary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID secondary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID tertiary: type: object nullable: true properties: name: type: string description: Dimension name value: type: string description: Dimension value dimension_id: type: integer description: Dimension ID dimension_option_id: type: integer description: Dimension option ID additionalProperties: false '400': description: The request parameters were invalid content: {} '401': description: User is not permitted to use the API or Authentication is invalid content: {} '404': description: Product or Channel Template ID not found content: {} '422': description: There was an error adding the product to the channel template content: {} '500': description: Something went wrong content: {} /product_channel_templates/{product_channel_template_id}/products/{id}: get: tags: - product_channel_template_products summary: Get Product Channel Template Product description: ' Retrieve a specific product from a product channel template ' operationId: get_api_v1_product_channel_templates_product_channel_template_id_products_id parameters: - name: product_channel_template_id in: path description: Product Channel Template ID required: true schema: type: number - name: id in: path description: Product ID required: true schema: type: number - name: include_share_link in: query description: 'Include Share Link URL in response TODO: still defining' required: false schema: type: boolean responses: '200': description: Successfully fetched Product from Channel Template content: '*/*': schema: type: object properties: id: type: integer example: 1 product_category_id: type: integer example: 1 product_type_id: type: integer example: 1 has_variants: type: boolean example: true dimension1_id: type: integer example: 1 dimension2_id: type: integer example: 2 dimension3_id: type: integer example: 3 created_at: type: string format: date-time example: '2021-08-01T00:00:00.000Z' updated_at: type: string format: date-time example: '2021-08-01T00:00:00.000Z' user_id: type: string example: 123e4567e89b12d3a456 product_custom_attributes: type: array items: type: object properties: name: type: string value: type: string nullable: true data_type: type: string product_custom_attribute_id: type: integer product_attribute_group_id: type: integer nullable: true asset_ids: type: array items: type: string example: - name: name value: Product 1 data_type: text product_custom_attribute_id: 1 product_attribute_group_id: null - name: sku value: SKU1 data_type: text product_custom_attribute_id: 2 product_attribute_group_id: null - name: Price value: '10.00' data_type: text product_custom_attribute_id: 3 product_attribute_group_id: 1 - name: An Image value: null data_type: image asset_ids: - abc123 - def234 product_custom_attribute_id: 4 product_attribute_group_id: 2 variants: type: array items: type: object properties: id: type: integer dimension_options: type: object properties: primary: type: object properties: name: type: string value: type: string dimension_id: type: integer dimension_option_id: type: integer nullable: true secondary: type: object properties: name: type: string value: type: string dimension_id: type: integer dimension_option_id: type: integer nullable: true tertiary: type: object properties: name: type: string value: type: string dimension_id: type: integer dimension_option_id: type: integer nullable: true product_custom_attributes: type: array items: type: object properties: name: type: string value: type: string data_type: type: string product_custom_attribute_id: type: integer product_attribute_group_id: type: integer nullable: true example: - id: 5 dimension_options: primary: name: Color value: Red dimension_id: 1 dimension_option_id: 1 secondary: name: Size value: Small dimension_id: 2 dimension_option_id: 2 tertiary: null product_custom_attributes: - name: name value: Product 1 - Red/Small data_type: text product_custom_attribute_id: 1 product_attribute_group_id: null - name: sku value: 1-red-small data_type: text product_custom_attribute_id: 2 product_attribute_group_id: null - name: Price value: '11.00' data_type: text product_custom_attribute_id: 3 product_attribute_group_id: 1 - id: 6 dimension_options: primary: name: Color value: Blue dimension_id: 1 dimension_option_id: 1 secondary: name: Size value: Large dimension_id: 2 dimension_option_id: 2 tertiary: null product_custom_attributes: - name: name value: Product 1 - Blue/Large data_type: text product_custom_attribute_id: 1 product_attribute_group_id: null - name: sku value: 1-blue-large data_type: text product_custom_attribute_id: 2 product_attribute_group_id: null - name: Price value: '12.00' data_type: text product_custom_attribute_id: 3 product_attribute_group_id: 1 product_assets: type: array items: type: object properties: asset_id: type: string product_ids: type: array items: type: integer example: - asset_id: e29b41d4a7166655440000 product_ids: - 1 - 2 - 3 - 4 - 5 '400': description: The request parameters were invalid content: {} '401': description: User is not permitted to use the API or Authentication is invalid content: {} '404': description: Product Channel Template or Product ID not found content: {} '500': description: Something went wrong content: {} delete: tags: - product_channel_template_products summary: Remove a single Product from a Channel Template description: ' Remove a single Product from a Channel Template. If you wish to remove multiple products, use the bulk endpoint instead. ' operationId: delete_api_v1_product_channel_templates_product_channel_template_id_products_id parameters: - name: product_channel_template_id in: path description: Product Channel Template ID required: true schema: type: number - name: id in: path description: Product ID required: true schema: type: number responses: '204': description: Successfully removed product from the channel template content: {} '400': description: The request parameters were invalid content: {} '401': description: User is not permitted to use the API or Authentication is invalid content: {} '404': description: Product or Channel Template ID not found content: {} '422': description: There was an error removing product from the channel template content: {} '500': description: Something went wrong content: {} components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: AccessToken x-original-swagger-version: '2.0'