# Enad | Docs > Documentation for the ENAD Product Information Management (PIM) API: catalog, integrations, events, and API reference. # Enad Documentation Source: https://docs.enad.io/ Enad is the ecosystem behind your e-commerce: a serverless Product Information Management (PIM) platform. A product change in the Management API reaches your webshop over GraphQL and your integrations (Nosto, Voyado, Brink), while a customer signup flows straight to Klaviyo. Pick the area you are integrating with: - [Management API](/management): server-to-server catalog, store, market, and digital asset management, through the [Management API](/management/management-api) and the [Digital Assets Management API](/management/dam). - [Storefront](/storefront): the [Enad TypeScript SDK](/storefront/enad-ts-sdk), the [Product Search GraphQL API](/storefront/graphql), the [Customers API](/storefront/customers-api), and the [media CDN](/storefront/media). - [Integrations](/integrations): [webhook events](/integrations/webhooks), and first-party integrations such as [Nosto](/integrations/nosto), [Klaviyo](/integrations/klaviyo), and [Brink](/integrations/brink-commerce). --- # Changelog Source: https://docs.enad.io/changelog Every release, newest first. Subscribe to the [RSS feed](/changelog/rss.xml) to follow along. ## 2026 - [Changelog 2026-11](https://docs.enad.io/changelog/changelog-2026-11) — 2026-11-01, New features - [Changelog 2026-10](https://docs.enad.io/changelog/changelog-2026-10) — 2026-10-01, New features --- # Changelog 2026-10 Source: https://docs.enad.io/changelog/changelog-2026-10 ## New features ### Shopify integration - Enad now integrates with Shopify, so you can connect your Shopify store and sync product data from Enad. - Documentation: [Shopify integration](/integrations/shopify) ### Management API v2 - The new version of the [Management API](/management/management-api) is now available, giving you the latest catalog, store, and market endpoints to build against. --- # Changelog 2026-11 Source: https://docs.enad.io/changelog/changelog-2026-11 ## New features ### Variant group statuses - Variant groups now have status, so you can track and control it from Enad. - Documentation: [Update variant groups](/management/management-api/reference/variant-groups-v2/bulk-update-variant-groups) in the Management API reference. ### Storefront revalidate events - Storefront revalidate events now include a `changes` field listing what actually changed (for example `["translations_name.sv", "translations_slug.sv"]` or `["deleted"]`), so you only invalidate pages whose data changed. Translation changes are one token per field and locale (`translations_name.fi`, `translations_name.en-gb`); tokens without a locale, such as `translations_name`, mean all locales. - Documentation: [Revalidate payload](/storefront/revalidate/payload) in the storefront reference. --- # Integrations Source: https://docs.enad.io/integrations Enad connects to commerce, marketing, content, and custom platforms through first-party integrations. Every integration follows the [common integration setup](/integrations/integrations), and every catalog or store change can reach your other systems through [webhooks](/integrations/webhooks). Integrations are configured in Enad Admin at [app.enad.io](https://app.enad.io) under **System → Integrations**. **[Get started with integrations](/integrations/integrations)** An overview of every first-party integration and the setup they share. **[Webhooks](/integrations/webhooks)** Subscribe your own endpoints to catalog and store events over HTTP: event families, payload structure, ordering, and retries. --- # AI Source: https://docs.enad.io/integrations/ai Enad AI The AI integration makes Enad's AI tools available through either Enad's managed AI service or a supported provider. ## What this turns on An active AI integration enables: - Draft product descriptions and SEO text with **AI Assist** - Generate individual or bulk translations - Create and iterate on campaign images in **AI Studio** - Run bulk AI jobs for text, translations, image alt text, and image processing - Reuse prompt templates with **Presets** Most AI actions require an active AI integration. Available tools also depend on the features enabled for the app. ## Provider requirements The provider determines how Enad accesses the AI model: - **Enad** uses Enad's managed service and does not require a provider API key. - **Gemini, OpenAI, or Anthropic** uses an account and API key from the selected provider. ## Configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes: - Provider - Model - Provider API key, except for Enad's managed service - Active status An app can have multiple AI integrations. Supported AI actions allow selection between active integrations. ## Model responsibility :::warning The selected model has a direct effect on output quality. A model that is too limited for the task can produce weak, incorrect, inconsistent, or off-brand results, even when the profile and source data are well configured. ::: Model capabilities should match the intended work. Translation, long-form product copy, structured SEO text, and image work can require different capabilities. Production readiness should be assessed through: - Tests on representative products, languages, and edge cases - Comparison against expected quality and tone - Review before approval, especially after a model or provider change - An [AI profile](/integrations/ai-profiles) for stable brand, tone, terminology, and content rules A profile guides a model but does not compensate for unsuitable model capabilities. Model selection and output review remain the responsibility of the merchant. ## How the controls fit together ```mermaid flowchart LR Integration["AI integration
Provider + model"] Surface{"Generation surface"} Assist["AI Assist
One field"] Translation["Translations
One or many languages"] Jobs["AI Jobs
Bulk generation"] Profile["AI profile
Brand, tone, terminology, rules"] Review["Generated result
Review and approve"] Integration --> Surface Surface --> Assist Surface --> Translation Surface --> Jobs Profile --> Assist Profile --> Translation Profile --> Jobs Assist --> Review Translation --> Review Jobs --> Review ``` - The **integration** chooses the provider and model that produce the output. - The **AI surface** decides what to generate and for which records or languages. - The optional **profile** adds reusable instructions for how the output should sound and behave. - Generated results require review and approval. AI Studio uses **Presets** for reusable campaign-image prompts. Profiles guide catalog text, translations, and AI jobs; they are not AI Studio presets. ## Default AI Studio integration **Default AI studio** selects an Enad provider integration automatically for new AI Studio sessions. Other active integrations remain available. :::note The list of available models can change. The model selector in Enad Admin is the current source of truth. ::: ## Next step [AI profiles](/integrations/ai-profiles) keep tone and content rules consistent across supported AI actions. --- # AI profiles Source: https://docs.enad.io/integrations/ai-profiles AI profiles are reusable instructions that guide the tone and behavior of AI-generated catalog content. They support consistent output across individual suggestions, translations, and bulk jobs. :::note A profile guides the selected model but does not replace model selection. An appropriate model provides the required capabilities, while the profile shapes its output. ::: ## Where profiles are used Profile selection is available for: - Generate a product description or SEO field with **AI Assist** - Generate one translation or suggestions for all configured languages - Create an **AI Job** for translation, content generation, or image alt text AI Assist falls back to the profile marked as default when no profile is selected. Translation controls and AI Jobs support explicit profile selection for each action. AI Studio uses **Presets** instead of profiles. A profile controls catalog language and behavior; a preset stores reusable instructions and inputs for campaign-image generation. ## Profile configuration Profiles are managed under **AI → Profiles** in Enad Admin. **Create Profile** opens the following settings: - **Name** identifies the profile in selection controls. - **Instructions** define reusable guidance for generated output. - **Include categories** and **Include collections** add relevant catalog context. The exact data used depends on the AI action. - **Is default** marks the fallback profile used by AI Assist when no profile is selected. App edit permission is required to create, change, or delete profiles. ## Instruction design Effective instructions are specific enough to apply without interpretation and limited to rules that remain relevant across multiple AI actions. **Brand** Explain what the brand represents, who it speaks to, and which qualities should be reflected in the content. **Tone** Describe the voice with concrete traits, such as direct, warm, technical, or premium. **Terminology** State preferred product terms, capitalization, units, and words that must not be translated. **Rules** Add durable constraints such as claims to avoid, required information, and formatting expectations. Example: ```text Brand: Write for design-conscious customers who value durable products. Tone: Clear, warm, and confident. Avoid hype and exaggerated claims. Terminology: Use "jacket" rather than "coat". Keep collection names in English. Rules: Do not invent materials, certifications, features, or care instructions. Use metric measurements. ``` Vague instructions such as “make it good” or “write on-brand” provide little direction. Task-specific requests belong in the optional AI Assist guideline or in job guidance rather than in a reusable profile. ## Brand guide PDF With an active AI integration, **Distill PDF** extracts a summary, key facts, style guidelines, and constraints from a PDF. The workflow consists of uploading the brand guide, reviewing and refining the extracted text, and accepting the result into the profile instructions. :::warning Extracted guidance requires review. The source PDF and the extraction can contain outdated, conflicting, or irrelevant rules. ::: ## AI Assist AI Assist on supported product and SEO fields includes: - AI integration selection - Profile selection - An optional guideline for the current suggestion - Generation, review, and approval controls The profile supplies reusable rules. The optional guideline applies to the current suggestion. ## Translations Translation controls support profiles for both single-language and all-language suggestions. The selected integration and profile apply to the generated result. Profiles help preserve tone, terminology, and non-translatable brand terms across languages. Each target language requires review before approval because a profile does not guarantee equal quality in every language. ## Bulk AI jobs AI Job configuration includes: - AI integration and profile - Job type: translation, content generation, or image alt text - Content types, records, fields, and languages - Optional job-specific guidance The integration and profile apply across the job. Job guidance describes the current task, while the profile contains reusable rules. ## Profile maintenance - Each profile should focus on one recognizable voice or use case. - Names such as **Main brand voice**, **Technical product copy**, or **Swedish translations** make selection clear. - Changes should be tested on representative content before use in bulk jobs. - Profiles should be updated when terminology or brand guidance changes. - Obsolete profiles should be removed to avoid conflicting guidance. Existing profiles provide **Edit** in the panel header. Deletion is available from the profile menu and the edit view. ## Related - [AI integration and model selection](/integrations/ai) - [Integrations overview](/integrations/integrations) --- # Brink Commerce Source: https://docs.enad.io/integrations/brink-commerce Brink Commerce Brink Commerce connects Enad to one or more Brink store groups. It is useful when Brink is the commerce destination for catalog data managed in Enad. ## Requirements Required connection details: - Brink OAuth 2 URL and API base URL - Client ID and client secret - API key - Enad store groups included in the integration The Brink OAuth client must grant the product, stock, store, price, tax, and discount permissions that Enad requests. Enad refreshes the OAuth token automatically before it expires. ## Sync data The **Sync** tab supports all or selected records for: - Products and variants, with prices, stock, and inventories - Store groups with their markets, and tax groups with their market rates Images, videos, categories, collections, brands, series, and tags have no standalone sync. That data reaches Brink inside product and variant payloads, and relationship changes trigger a resync of the affected product or variant. Markets are synced as part of their store group. Products with the Enad status `incomplete` are skipped entirely. Statuses map to Brink as `active` → `isActive` and `archived` → `isArchived`; anything else is inactive. ### Prices Prices are sent per variant and store group, tax-inclusive. One price entry is created per market country code, and the first market for a country code wins. Sale prices replace the base price when the price is on sale. Prices with an inactive status are skipped, and unchanged price sets are not sent again. ### Stock Stock updates only apply to warehouses that are available online. Stock changes that originated in Brink are ignored, so the two systems do not loop. Market inventories are sent in warehouse priority order. ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Attributes](/catalog/attributes) --- # Brink Commerce configuration Source: https://docs.enad.io/integrations/brink-commerce/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes the Brink connection details and store groups selected for sync. - **Rate limit**: maximum requests per second sent to Brink. Must be 1 or higher. - **Display name setup** controls which name becomes the Brink variant name: `variant_name` (default), `product_name`, `product_variant_name`, or `variant_product_name`. The compound names join the two per locale. - **Include product attributes** adds Enad product attributes and parent custom fields to variant custom attributes. - **Include custom fields keys** limits which parent custom fields are included when product attributes are on. An empty selection includes all of them. - **Group tags** changes tag encoding from one key per tag to grouped keys, each holding up to 10 values. - **Warehouse** adds the inventory date for the selected warehouse to variant custom attributes. - **Store group order prefixes** gives each store group the Brink reference prefix used on orders. The prefix must be two or three lowercase letters or digits followed by a dash or underscore, such as `dk-`. - **Custom fields** copies values from Enad custom fields into a tag of your choice. Payload limits: display names are truncated to 500 characters, tag values to 40 characters, custom attributes are capped at 50 entries, and at most 20 tag keys are sent. Norwegian `no` locales are sent as `nb`, because Brink expects `nb`. An optional **Merchant Portal URL** adds a **quick button** to the product page. The button opens the matching product in Brink. Enad appends `products/` and the product SKU to the configured Brink merchant portal base URL: ```text https://merchant-portal.EXAMPLE.brinkcommerce.io/products/SKU-123 ``` For example, the integration setting contains `https://merchant-portal.EXAMPLE.brinkcommerce.io/`. The product SKU is added automatically. ## Related - [Brink Commerce](/integrations/brink-commerce) --- # Brink Commerce events Source: https://docs.enad.io/integrations/brink-commerce/events The integration receives catalog, price, stock, and store-group events for the configured Enad store groups and pushes the data to Brink. Events for store groups outside the configuration are ignored. ## Products and variants | Event | What Enad sends | |---|---| | Product created or updated | The product and all its variants as a Brink product upsert, including the single primary image URL, prices, stock, and categories. Products with the status `incomplete` are skipped. | | Product deleted | Removes the product from Brink. | | Variant updated | Fetches the parent product and upserts the variant. | | Variant deleted | Removes the variant from Brink by its product number. | | Product or variant status changed | Ignored as its own event. Status reaches Brink inside product and variant payloads: `active` maps to `isActive`, `archived` to `isArchived`, and anything else to inactive. | Images travel as one URL per product and per variant, with a fallback chain from variant images to product images to variant-group images. Only the primary image is sent; the rest of the gallery is not synced to Brink. Unchanged product and variant payloads are not sent again. ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group) | Prices per variant and store group, tax-inclusive and converted to the currency's minor units. Each market country code gets its own price entry, and the first market for a country code wins. When a price is on sale, the sale price replaces the base price. | | Single price updated (one market) | Refetches the full price set for the store group first, so Brink always receives the complete set. | Prices with an inactive status are skipped, and unchanged price sets are not sent again. ## Stock | Event | What Enad sends | |---|---| | Stock updated | The quantity for the variant in the matching inventory. Applies only to warehouses that are available online, and changes that originated in Brink are ignored. An update where only the inventory date changed and the quantity stayed the same is skipped. | | Stock delta | Adds the delta to the inventory. Skipped when the delta is zero or the inventory is not available online. | | Inventory removed | Sets the quantity to 0 in Brink, then removes the inventory from the product. | | Warehouse created or updated | Creates or updates the Brink inventory when the warehouse is available online, including its address. | | Warehouse revoked from online or deleted | Removes the Brink inventory. | | Market inventories updated | Sends the available-online warehouses for a store group and market, in warehouse priority order. | | Stock validation config | Writes the variant's stock validation flag to Brink. | ## Store groups, markets, and tax groups | Event | What Enad sends | |---|---| | Store group upsert | Creates or updates the Brink store group, including its channel type (B2C or B2B) and markets. | | Market added or removed | Adds or removes country codes on the store group. | | Store group deleted | Deletes the store group in Brink. | | Tax group upsert, delete, or rate change | Pushes the tax group and its per-market tax rates to Brink. | ## Tags and attributes Tags and attribute values reach Brink inside product and variant payloads. Attribute relationship changes re-sync the affected product or variant, and channel content changes re-sync their parent product or variant. ## Field mapping | Enad data | Brink destination | |---|---| | Product number | Product parent reference | | Variant number | Variant SKU and reference | | Names | `name` and `displayNames`, chosen by **Display name setup** | | Descriptions | `description` and `displayDescriptions` per locale, truncated to 500 characters | | Primary image | `imageUrl`, with fallback from variant to product to variant-group images. Each list is sorted so an image with the **First integration** flag comes first, otherwise the image with the lowest priority number | | Status | `isActive` and `isArchived` | | Attributes and parent custom fields | `customAttributes`, capped at 50 entries | | Tags | `tags`, at most 20 keys; with **Group tags** one grouped key holds up to 10 values, otherwise one key per tag with values truncated to 40 characters | | Prices | Variant prices on the store group, one entry per market country code | | Stock | Inventory quantity per inventory | | Tax groups | `taxGroupId` on variants | | Inventories | Brink inventories with name, description, and address | ## Related - [Brink Commerce](/integrations/brink-commerce) - [Brink Commerce configuration](/integrations/brink-commerce/configuration) --- # Centra Source: https://docs.enad.io/integrations/centra Centra The Centra integration connects Enad to a Centra account and maps Centra stores to Enad store groups and markets. ## Requirements Configuration requires the Centra API base URL and API key, the Centra stores included in the connection, and the corresponding Enad store groups and markets. ## Configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes: - **Stores**: Centra store ID, store group ID, and an optional Enad market. - **Size chart**: Centra size-chart value used by the integration. - **Locale list**: Centra numeric ID for each Enad market locale. - **Price list**: Centra numeric ID for each Enad market currency. - **Rate limit**: Maximum request rate sent to Centra. ## Validation and sync Connection checks are available under **Status → Integration validation**. The refresh control runs the checks again. The **Sync** tab supports resending all or selected catalog records. ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Prices](/integrations/events/prices) --- # Attribute Events Source: https://docs.enad.io/integrations/events/attributes This section covers all webhook events related to attributes, including attribute updates, deletions, and attribute relationships to catalog items. ## Event Types The following attribute-related events are available: - `attribute.updated` - Triggered when an attribute is created or modified - `attribute.deleted` - Triggered when an attribute is deleted - `attribute_relationship.created` - Triggered when an attribute is linked to catalog items - `attribute_relationship.deleted` - Triggered when an attribute is unlinked from catalog items ## Attribute Updated Event The `attribute.updated` event is triggered when an attribute is created or modified. ### Event Structure ```json { "event_type": "attribute.updated", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Color", "description": "Color attribute", "key": "color", "template_key": "color_template", "values": { "red": [ { "id": "123e4567-e89b-12d3-a456-426614174002", "key": "red", "type": "color", "value": "Red", "translations": { "value": [ { "country_code": "us", "value": "Red" }, { "country_code": "es", "value": "Rojo" } ] }, "image": { "id": "123e4567-e89b-12d3-a456-426614174003", "url": "https://example.com/images/red.jpg", "alt": "Red swatch", "status": "active", "title": "Red", "copyright": "", "blurhash": "", "created_with_ai": false } } ] }, "translations": { "name": [ { "country_code": "us", "value": "Color" }, { "country_code": "es", "value": "Color" } ], "description": [ { "country_code": "us", "value": "Color attribute" } ] }, "filterable": true, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the attribute | | `name` | string | Display name of the attribute | | `description` | string | Description of the attribute | | `key` | string | Unique key identifier for the attribute | | `template_key` | string | Key of the attribute template the attribute belongs to | | `values` | object | Attribute values grouped by value key | | `values[].id` | string | Unique identifier for the attribute value | | `values[].key` | string | Key of the attribute value group | | `values[].type` | string | Value type, such as color or text | | `values[].value` | string | Display value | | `values[].translations` | object | Localized value | | `values[].image` | object \| null | Optional image for the value, with `id`, `url`, `alt`, `status`, `title`, `copyright`, `blurhash`, and `created_with_ai` | | `translations` | object | Localized name and description for the attribute | | `filterable` | boolean | Whether the attribute can be used for filtering | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | ## Attribute Deleted Event The `attribute.deleted` event is triggered when an attribute is removed from the system. ### Event Structure ```json { "event_type": "attribute.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted attribute | ## Attribute Relationship Created Event The `attribute_relationship.created` event is triggered when an attribute is linked to one or more catalog items. ### Event Structure ```json { "event_type": "attribute_relationship.created", "payload": { "attribute_id": "123e4567-e89b-12d3-a456-426614174000", "item_ids": [ "123e4567-e89b-12d3-a456-426614174001", "123e4567-e89b-12d3-a456-426614174002" ] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `attribute_id` | string | Identifier of the linked attribute | | `item_ids` | array | Identifiers of the catalog items the attribute was linked to | ## Attribute Relationship Deleted Event The `attribute_relationship.deleted` event is triggered when an attribute is unlinked from one or more catalog items. ### Event Structure ```json { "event_type": "attribute_relationship.deleted", "payload": { "attribute_id": "123e4567-e89b-12d3-a456-426614174000", "item_ids": [ "123e4567-e89b-12d3-a456-426614174001", "123e4567-e89b-12d3-a456-426614174002" ] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `attribute_id` | string | Identifier of the unlinked attribute | | `item_ids` | array | Identifiers of the catalog items the attribute was unlinked from | --- # Brand Events Source: https://docs.enad.io/integrations/events/brands This section covers all webhook events related to brands, including brand creation, updates, and deletions. ## Event Types The following brand-related events are available: - `brands.upsert` - Triggered when a brand is created or updated - `brands.delete` - Triggered when a brand is deleted ## Brand Upsert Event The `brands.upsert` event is triggered when a brand is created or updated. ### Event Structure ```json { "event_type": "brands.upsert", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Premium Fashion", "slug": "premium-fashion", "description": "High-quality fashion brand", "logo_url": "https://example.com/logos/premium-fashion.png", "cover_url": "https://example.com/covers/premium-fashion.jpg", "series": [ { "id": "123e4567-e89b-12d3-a456-426614174001", "name": "Summer Collection", "slug": "summer-collection", "description": "Light and breezy summer styles", "logo_url": "https://example.com/series/summer.png", "cover_url": "https://example.com/series/summer-cover.jpg", "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } ], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the brand | | `name` | string | Display name of the brand | | `slug` | string | URL-friendly identifier | | `description` | string | Optional description of the brand | | `logo_url` | string | Optional URL to the brand logo | | `cover_url` | string | Optional URL to the brand cover image | | `series` | array | Associated product series for the brand | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | ## Brand Delete Event The `brands.delete` event is triggered when a brand is removed from the system. ### Event Structure ```json { "event_type": "brands.delete", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted brand | --- # Category Events Source: https://docs.enad.io/integrations/events/categories This section covers all webhook events related to categories, including category creation, updates, deletions, and relationship changes. ## Event Types The following category-related events are available: - `category.create` - Triggered when a new category is created - `category.update` - Triggered when an existing category is modified - `category.deleted` - Triggered when a category is deleted - `category_relationship.created` - Triggered when a product is assigned to a category - `category_relationship.deleted` - Triggered when a product is removed from a category ## Category Created/Updated Event The `category.create` and `category.update` events share the same payload structure. ### Event Structure ```json { "event_type": "category.create", // or category.update "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Winter Collection", "slug": "winter-collection", "full_uri": "clothing/collections/winter-collection", "parent_id": "123e4567-e89b-12d3-a456-426614174001", "status": "active", "translations": { "name": [ { "country_code": "us", "value": "Winter Collection" }, { "country_code": "es", "value": "Colección de Invierno" } ], "slug": [ { "country_code": "us", "value": "winter-collection" }, { "country_code": "es", "value": "coleccion-de-invierno" } ] }, "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174002", "name": "Season", "description": "Season attribute", "key": "season", "template_key": "season_template", "values": { "season": [ { "id": "123e4567-e89b-12d3-a456-426614174003", "key": "winter", "type": "season", "value": "Winter", "translations": { "value": [ { "country_code": "us", "value": "Winter" }, { "country_code": "es", "value": "Invierno" } ] } } ] }, "translations": { "name": [ { "country_code": "us", "value": "Season" }, { "country_code": "es", "value": "Temporada" } ], "description": [ { "country_code": "us", "value": "Season attribute" }, { "country_code": "es", "value": "Atributo de temporada" } ] }, "filterable": true, "translatable": true, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } ], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the category | | `name` | string | Display name of the category | | `slug` | string | URL-friendly identifier | | `full_uri` | string | Full path including parent categories | | `parent_id` | string | ID of the parent category (if any) | | `status` | string | Category status (active, inactive, draft) | | `translations` | object | Localized content for the category | | `attributes` | array | Associated attributes for the category | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | ## Category Deleted Event The `category.deleted` event is triggered when a category is removed from the system. ### Event Structure ```json { "event_type": "category.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted category | ## Category Relationship Created Event The `category_relationship.created` event is triggered when a product is assigned to a category. ### Event Structure ```json { "event_type": "category_relationship.created", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "category": { "id": "123e4567-e89b-12d3-a456-426614174001", "name": "Winter Collection", "slug": "winter-collection", "full_uri": "clothing/collections/winter-collection", "parent_id": "123e4567-e89b-12d3-a456-426614174002", "status": "active", "translations": { "name": [ { "country_code": "us", "value": "Winter Collection" } ], "slug": [ { "country_code": "us", "value": "winter-collection" } ] }, "attributes": [], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | ID of the product being assigned | | `category` | object | Full category object the product is assigned to | ## Category Relationship Deleted Event The `category_relationship.deleted` event is triggered when a product is removed from a category. ### Event Structure ```json { "event_type": "category_relationship.deleted", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "category_id": "123e4567-e89b-12d3-a456-426614174001" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | ID of the product being removed | | `category_id` | string | ID of the category the product is removed from | --- # Collection Events Source: https://docs.enad.io/integrations/events/collections This section covers all webhook events related to collections, including collection updates, deletions, and product relationships. ## Event Types The following collection-related events are available: - `collection.create` - Triggered when a collection is created - `collection.update` - Triggered when a collection is updated - `collection.deleted` - Triggered when a collection is deleted - `collection_relationship.created` - Triggered when a product is added to a collection - `collection_relationship.deleted` - Triggered when a product is removed from a collection ## Collection Created/Updated Event The `collection.create` and `collection.update` events are triggered when a collection is created or modified. ### Event Structure ```json { "event_type": "collection.update", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "slug": "new-arrivals", "title": "New Arrivals", "full_uri": "new-arrivals", "status": "active", "parent_id": null, "translations": { "title": [ { "country_code": "us", "value": "New Arrivals" }, { "country_code": "es", "value": "Novedades" } ], "slug": [ { "country_code": "es", "value": "novedades" } ] }, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the collection | | `slug` | string | URL slug of the collection | | `title` | string | Display title of the collection | | `full_uri` | string | Full URI of the collection, omitted when empty | | `status` | string | Collection status (active, inactive, draft) | | `parent_id` | string \| null | Identifier of the parent collection, or null for a root collection | | `translations` | object | Localized title and slug for the collection | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | ## Collection Deleted Event The `collection.deleted` event is triggered when a collection is removed from the system. ### Event Structure ```json { "event_type": "collection.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted collection | ## Collection Relationship Created Event The `collection_relationship.created` event is triggered when a product is added to a collection. ### Event Structure ```json { "event_type": "collection_relationship.created", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174001", "collection": { "id": "123e4567-e89b-12d3-a456-426614174000", "slug": "new-arrivals", "title": "New Arrivals", "full_uri": "new-arrivals", "status": "active", "parent_id": null, "translations": { "title": [], "slug": [] }, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Identifier of the product added to the collection | | `collection` | object | The collection the product was added to, using the structure above | ## Collection Relationship Deleted Event The `collection_relationship.deleted` event is triggered when a product is removed from a collection. ### Event Structure ```json { "event_type": "collection_relationship.deleted", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174001", "collection_id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Identifier of the product removed from the collection | | `collection_id` | string | Identifier of the collection the product was removed from | --- # Market Events Source: https://docs.enad.io/integrations/events/markets This section covers all webhook events related to markets, including market updates and deletions. ## Event Types The following market-related events are available: - `market.update` - Triggered when a market is created or modified - `market.deleted` - Triggered when a market is deleted ## Market Updated Event The `market.update` event is triggered when a market is created or modified. ### Event Structure ```json { "event_type": "market.update", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "United States", "slug": "us", "country_codes": ["US"], "locale": "en-US", "currency_code": "USD", "active": true, "updated_at": "2024-02-12T12:00:00Z", "created_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the market | | `name` | string | Display name of the market | | `slug` | string | URL-friendly identifier | | `country_codes` | string array | Array of Two-letter ISO country code | | `locale` | string | Locale code (language-COUNTRY) | | `currency_code` | string | Three-letter ISO currency code | | `active` | boolean | Whether the market is active | | `updated_at` | string | Last update timestamp | | `created_at` | string | Creation timestamp | ## Market Deleted Event The `market.deleted` event is triggered when a market is removed from the system. ### Event Structure ```json { "event_type": "market.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "slug": "sweden" } } ``` ### Field Descriptions | Field | Type | Description | |--------|--------|-------------| | `id` | string | Unique identifier of the deleted market | | `slug` | string | Unique slug of the deleted market | --- # Organisation Events Source: https://docs.enad.io/integrations/events/organisations This section covers all webhook events related to organisations, including organisation creation, updates, deletions, status changes, and user management. ## Event Types The following organisation-related events are available: - `organisations.created` - Triggered when an organisation is created - `organisations.updated` - Triggered when an organisation is updated - `organisations.deleted` - Triggered when an organisation is deleted - `organisation_status.changed` - Triggered when an organisation's status changes - `organisation_users.added` - Triggered when a user is added to an organisation - `organisation_users.deleted` - Triggered when a user is removed from an organisation ## Organisation Created Event The `organisations.created` event is triggered when a new organisation is created in the system. ### Event Structure ```json { "event_type": "organisations.created", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "company_name": "Acme Corporation", "contact_name": "John Doe", "organisation_number": "123456789", "credit_check": true, "email": "contact@acme.com", "invoice_email": "billing@acme.com", "custom_fields": { "industry": "Technology", "size": "Enterprise" }, "phone": "+1-555-123-4567", "tax_id_vat": "US123456789", "external_ref": "EXT-001", "store_group_ids": [ "123e4567-e89b-12d3-a456-426614174001", "123e4567-e89b-12d3-a456-426614174002" ], "shipping": [ { "id": "123e4567-e89b-12d3-a456-426614174003", "name": "Main Warehouse", "company_name": "Acme Corporation", "street_address": "123 Business St", "co_address": "Suite 100", "city": "New York", "state_province": "NY", "house_number": "123", "zip_postal_code": "10001", "country": "US", "phone": "+1-555-123-4567", "is_default": true } ], "billing": [ { "id": "123e4567-e89b-12d3-a456-426614174004", "name": "Billing Department", "company_name": "Acme Corporation", "street_address": "456 Finance Ave", "co_address": "Floor 5", "city": "New York", "state_province": "NY", "house_number": "456", "zip_postal_code": "10002", "country": "US", "phone": "+1-555-987-6543", "is_default": true } ], "status": "active", "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174005", "name": "Industry Type", "description": "Type of industry", "key": "industry_type", "template_key": "industry_template", "values": { "industry_type": [ { "id": "123e4567-e89b-12d3-a456-426614174006", "key": "technology", "type": "text", "value": "Technology", "translations": { "value": [ { "country_code": "us", "value": "Technology" } ] } } ] }, "translations": { "name": [ { "country_code": "us", "value": "Industry Type" } ], "description": [ { "country_code": "us", "value": "Type of industry" } ] }, "filterable": true, "translatable": true, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } ], "tags": [ { "id": "123e4567-e89b-12d3-a456-426614174007", "key": "enterprise", "name": "Enterprise", "translations": { "name": [ { "country_code": "us", "value": "Enterprise" } ] }, "filterable": true, "attributes": [], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z", "status": "active" } ] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the organisation | | `company_name` | string | Legal name of the company | | `contact_name` | string | Primary contact person name | | `organisation_number` | string | Official registration number | | `credit_check` | boolean | Whether credit check is enabled | | `email` | string | Primary contact email | | `invoice_email` | string | Email for invoice delivery | | `custom_fields` | object | Custom key-value pairs | | `phone` | string | Contact phone number | | `tax_id_vat` | string | Tax identification number | | `external_ref` | string | External reference identifier | | `store_group_ids` | array | Associated store group identifiers | | `shipping` | array | Shipping addresses | | `billing` | array | Billing addresses | | `status` | string | Organisation status (one of: active, pending, inactive) | | `attributes` | array | Associated attributes | | `tags` | array | Associated tags | ## Organisation Updated Event The `organisations.updated` event is triggered when an organisation is modified. The structure is identical to the created event. ### Event Structure ```json { "event_type": "organisations.updated", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "company_name": "Acme Corporation", "contact_name": "John Doe", "organisation_number": "123456789", "credit_check": true, "email": "contact@acme.com", "invoice_email": "billing@acme.com", "custom_fields": { "industry": "Technology", "size": "Enterprise" }, "phone": "+1-555-123-4567", "tax_id_vat": "US123456789", "external_ref": "EXT-001", "store_group_ids": [ "123e4567-e89b-12d3-a456-426614174001", "123e4567-e89b-12d3-a456-426614174002" ], "shipping": [ { "id": "123e4567-e89b-12d3-a456-426614174003", "name": "Main Warehouse", "company_name": "Acme Corporation", "street_address": "123 Business St", "co_address": "Suite 100", "city": "New York", "state_province": "NY", "house_number": "123", "zip_postal_code": "10001", "country": "US", "phone": "+1-555-123-4567", "is_default": true } ], "billing": [ { "id": "123e4567-e89b-12d3-a456-426614174004", "name": "Billing Department", "company_name": "Acme Corporation", "street_address": "456 Finance Ave", "co_address": "Floor 5", "city": "New York", "state_province": "NY", "house_number": "456", "zip_postal_code": "10002", "country": "US", "phone": "+1-555-987-6543", "is_default": true } ], "status": "active", "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174005", "name": "Industry Type", "description": "Type of industry", "key": "industry_type", "template_key": "industry_template", "values": { "industry_type": [ { "id": "123e4567-e89b-12d3-a456-426614174006", "key": "technology", "type": "text", "value": "Technology", "translations": { "value": [ { "country_code": "us", "value": "Technology" } ] } } ] }, "translations": { "name": [ { "country_code": "us", "value": "Industry Type" } ], "description": [ { "country_code": "us", "value": "Type of industry" } ] }, "filterable": true, "translatable": true, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } ], "tags": [ { "id": "123e4567-e89b-12d3-a456-426614174007", "key": "enterprise", "name": "Enterprise", "translations": { "name": [ { "country_code": "us", "value": "Enterprise" } ] }, "filterable": true, "attributes": [], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z", "status": "active" } ] } } ``` ## Organisation Deleted Event The `organisations.deleted` event is triggered when an organisation is removed from the system. ### Event Structure ```json { "event_type": "organisations.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "org_number": "1234-1234" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted organisation | ## Organisation Status Changed Event The `organisation_status.changed` event is triggered when an organisation's status changes (e.g., from active to inactive, pending to active, etc.). ### Event Structure ```json { "event_type": "organisation_status.changed", "payload": { "organisation_id": "123e4567-e89b-12d3-a456-426614174000", "org_number": "123456789", "to_status": "inactive", "old_status": "active" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `organisation_id` | string | Unique identifier of the organisation | | `org_number` | string | Organisation registration number | | `to_status` | string | New status of the organisation (one of: active, pending, inactive) | | `old_status` | string | Previous status of the organisation (one of: active, pending, inactive) | ## Organisation User Added Event The `organisation_users.added` event is triggered when a user is added to an organisation. ### Event Structure ```json { "event_type": "organisation_users.added", "payload": { "organisation_id": "123e4567-e89b-12d3-a456-426614174000", "user_id": "123e4567-e89b-12d3-a456-426614174008", "role": "admin", "level": "admin" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `organisation_id` | string | Unique identifier of the organisation | | `user_id` | string | Unique identifier of the user | | `role` | string | User's role in the organisation | | `level` | string | User's access level (admin, default) | ## Organisation User Deleted Event The `organisation_users.deleted` event is triggered when a user is removed from an organisation. ### Event Structure ```json { "event_type": "organisation_users.deleted", "payload": { "organisation_id": "123e4567-e89b-12d3-a456-426614174000", "user_id": "123e4567-e89b-12d3-a456-426614174008", "role": "admin", "level": "admin" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `organisation_id` | string | Unique identifier of the organisation | | `user_id` | string | Unique identifier of the removed user | | `role` | string | User's role at time of removal | | `level` | string | User's access level at time of removal | --- # Price Events Source: https://docs.enad.io/integrations/events/prices This section covers all webhook events related to variant prices. ## Event Types The following price-related events are available: - `variant_prices.updated` - Triggered when prices for a variant are updated ## Variant Prices Updated Event The `variant_prices.updated` event is triggered when prices for a variant are modified. ### Event Structure ```json { "event_type": "variant_prices.updated", "payload": { "variant_id": "123e4567-e89b-12d3-a456-426614174000", "product_id": "123e4567-e89b-12d3-a456-426614174001", "store_group_id": "123e4567-e89b-12d3-a456-426614174002", "store_group_slug": "main-store", "variant_number": "VAR-123", "markets": [ { "id": "123e4567-e89b-12d3-a456-426614174003", "market_id": "123e4567-e89b-12d3-a456-426614174004", "market_slug": "us", "country_codes": ["US"], "base_price_amount": 99.99, "sale_price_amount": 79.99, "reference_price_amount": 79.99, "currency": "USD", "on_sale": true, "status": "active" }, { "id": "123e4567-e89b-12d3-a456-426614174005", "market_id": "123e4567-e89b-12d3-a456-426614174006", "market_slug": "ca", "country_codes": ["CA"], "base_price_amount": 129.99, "sale_price_amount": null, "reference_price_amount": null, "currency": "CAD", "on_sale": false, "status": "active" } ] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `variant_id` | string | Unique identifier for the variant | | `product_id` | string | ID of the parent product | | `store_group_id` | string | ID of the store group | | `store_group_slug` | string | Slug of the store group | | `variant_number` | string | Variant number | | `markets` | array | Price information for each market | ### Market Price Fields | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the price record | | `market_id` | string | ID of the market | | `market_slug` | string | Slug of the market | | `country_code` | string | Two-letter ISO country code | | `base_price_amount` | number | Regular price amount | | `sale_price_amount` | number\|null | Sale price amount (if applicable) | | `reference_price_amount` | number\|null | Reference price amount (if applicable) | | `currency` | string | Three-letter ISO currency code | | `on_sale` | boolean | Whether the variant is currently on sale | | `status` | string | Price status (active, inactive) | --- # Product Events Source: https://docs.enad.io/integrations/events/products This section covers all webhook events related to products, including product creation, updates, and deletions. ## Event Types The following product-related events are available: - `product.created` - Triggered when a new product is created - `product.updated` - Triggered when an existing product is modified - `product.deleted` - Triggered when a product is deleted - `product_status.changed` - Triggered when a product's status changes ## Product Created/Updated Event The `product.created` and `product.updated` events share the same payload structure. ### Event Structure ```json { "event_type": "product.created", // product.updated "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "product_name": "Premium Coffee Maker", "product_number": "PCM-2024", "translations": { "name": [ { "country_code": "us", "value": "Premium Coffee Maker" }, { "country_code": "es", "value": "Cafetera Premium" } ], "description": [ { "country_code": "us", "value": "High-end coffee maker with temperature control" }, { "country_code": "es", "value": "Cafetera de alta gama con control de temperatura" } ], "html_description": [ { "country_code": "us", "value": "

High-end coffee maker with temperature control

" }, { "country_code": "es", "value": "

Cafetera de alta gama con control de temperatura

" } ], "slug": [ { "country_code": "us", "value": "premium-coffee-maker" }, { "country_code": "es", "value": "cafetera-premium" } ] }, "files": [], "images": [ { "id": "123e4567-e89b-12d3-a456-426614174001", "url": "https://example.com/images/coffee-maker.jpg", "alt": "Premium Coffee Maker", "status": "active", "title": "Premium Coffee Maker - Main Image", "copyright": "© 2024 Your Brand", "sort": 1 } ], "slug": "premium-coffee-maker", "status": "active", "seo": { "meta_title": "Premium Coffee Maker | Your Brand", "meta_title_translations": [ { "country_code": "us", "value": "Premium Coffee Maker | Your Brand" } ], "meta_description": "Discover our high-end coffee maker with precise temperature control.", "meta_description_translations": [ { "country_code": "us", "value": "Discover our high-end coffee maker with precise temperature control." } ] }, "description": "High-end coffee maker with temperature control", "html_description": "

High-end coffee maker with temperature control

", "markets": [ { "id": "123e4567-e89b-12d3-a456-426614174002", "name": "United States", "slug": "us", "country_code": "US", "locale": "en-US", "currency_code": "USD", "active": true } ], "is_active": true, "brand": { "id": "123e4567-e89b-12d3-a456-426614174003", "name": "Your Brand", "series": { "id": "123e4567-e89b-12d3-a456-426614174004", "name": "Premium Series" } }, "custom": { "warranty_years": "2", "energy_rating": "A+" }, "third_party_links": [ { "id": "123e4567-e89b-12d3-a456-426614174005", "type": "manual", "title": "User Manual", "url": "https://example.com/manuals/coffee-maker.pdf", "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-12T10:00:00Z" } ], "variant_groups": [ { "id": "123e4567-e89b-12d3-a456-426614174006", "product_id": "123e4567-e89b-12d3-a456-426614174000", "name": "Blue", "slug": "blue", "tags": [ { "id": "123e4567-e89b-12d3-a456-426614174007", "key": "color", "name": "Color", "translations": { "name": [ { "country_code": "us", "value": "Color" } ] }, "filterable": false, "attributes": [], "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-12T10:00:00Z", "status": "active" } ], "images": [ { "id": "123e4567-e89b-12d3-a456-426614174008", "url": "https://example.com/images/coffee-maker-blue.jpg", "alt": "Premium Coffee Maker - Blue", "status": "active", "title": "Premium Coffee Maker - Blue", "copyright": "© 2024 Your Brand", "sort": 1, "created_with_ai": false, "attributes": [] } ], "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174009", "name": "Material", "key": "material", "template_key": "material_template", "values": { "material": [ { "id": "123e4567-e89b-12d3-a456-426614174010", "key": "steel", "type": "material", "value": "Steel", "translations": { "value": [ { "country_code": "us", "value": "Steel" } ] } } ] }, "filterable": true, "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-12T10:00:00Z" } ], "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-15T14:30:00Z" } ] } } ``` `variant_groups` is omitted (or empty) when the product has no variant groups. ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Unique identifier for the product | | `product_name` | string | The name of the product | | `product_number` | string | SKU or product number | | `translations` | object | Localized content for the product | | `files` | array | Associated files (manuals, specs, etc.) | | `images` | array | Product images | | `slug` | string | URL-friendly identifier | | `status` | string | Product status (active, inactive, draft, archived) | | `seo` | object | SEO-related information | | `description` | string | Product description | | `html_description` | string | HTML-formatted product description | | `is_active` | boolean | Whether the product is active | | `brand` | object | Brand information | | `custom` | object | Custom attributes | | `third_party_links` | array | External resource links | | `variant_groups` | array | Variant groups on the product. Each object: `id`, `product_id`, `name`, `slug`, `tags`, `images`, `attributes`, `created_at`, `updated_at`. `tags` are Tag objects with `id`, `key`, `name`, `translations`, `filterable`, `attributes`, `created_at`, `updated_at`, `status`. `images` are ProductImage objects with `id`, `url`, `alt`, `status`, `title`, `copyright`, `sort`, `created_with_ai`, `attributes`. `attributes` are Attribute objects with `id`, `name`, `description`, `key`, `template_key`, `values`, `translations`, `filterable`, `created_at`, `updated_at`. Omitted or empty when there are no groups. | ## Product Deleted Event The `product.deleted` event is triggered when a product is removed from the system. ### Event Structure ```json { "event_type": "product.deleted", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "product_number": "PCM-2024" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Unique identifier of the deleted product | | `product_number` | string | SKU or product number of the deleted product | ## Product Status Changed Event The `product_status.changed` event is triggered when a product's status is modified. ### Event Structure ```json { "event_type": "product_status.changed", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "product_number": "PCM-2024", "timestamp": "2024-02-12T10:00:00Z", "old_status": "draft", "new_status": "active" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Unique identifier of the product | | `product_number` | string | SKU or product number of the product | | `timestamp` | string | ISO 8601 timestamp when the status change occurred | | `old_status` | string | The previous status of the product | | `new_status` | string | The new status of the product | --- # Redirect Events Source: https://docs.enad.io/integrations/events/redirects This section covers all webhook events related to redirects, including redirect creation, updates, and deletions. ## Event Types The following redirect-related events are available: - `redirect.upsert` - Triggered when a redirect is created or updated - `redirect.delete` - Triggered when a redirect is deleted ## Redirect Upsert Event The `redirect.upsert` event is triggered when a redirect is created or updated. ### Event Structure ```json { "event_type": "redirect.upsert", "payload": { "redirect_id": "123e4567-e89b-12d3-a456-426614174000", "item_id": "223e4567-e89b-12d3-a456-426614174001", "locale": "en", "old_uri": "/old-path", "new_uri": "/new-path" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `redirect_id` | string | Unique identifier for the redirect | | `item_id` | string | Optional identifier of the product, category, or collection item the redirect is linked to. Omitted when the redirect is not linked to an item. | | `locale` | string | Locale of the redirect | | `old_uri` | string | The original URI being redirected | | `new_uri` | string | The target URI to redirect to | ## Redirect Delete Event The `redirect.delete` event is triggered when a redirect is removed from the system. ### Event Structure ```json { "event_type": "redirect.delete", "payload": { "redirect_id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `redirect_id` | string | Unique identifier of the deleted redirect | --- # Series Events Source: https://docs.enad.io/integrations/events/series This section covers all webhook events related to product series, including series creation, updates, and deletions. ## Event Types The following series-related events are available: - `series.upsert` - Triggered when a product series is created or updated - `series.delete` - Triggered when a product series is deleted ## Series Upsert Event The `series.upsert` event is triggered when a product series is created or updated. ### Event Structure ```json { "event_type": "series.upsert", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Summer Collection", "slug": "summer-collection", "description": "Light and breezy summer styles", "logo_url": "https://example.com/series/summer.png", "cover_url": "https://example.com/series/summer-cover.jpg", "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the series | | `name` | string | Display name of the series | | `slug` | string | URL-friendly identifier | | `description` | string | Optional description of the series | | `logo_url` | string | Optional URL to the series logo | | `cover_url` | string | Optional URL to the series cover image | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | ## Series Delete Event The `series.delete` event is triggered when a product series is removed from the system. ### Event Structure ```json { "event_type": "series.delete", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted series | --- # Stock Events Source: https://docs.enad.io/integrations/events/stocks This section covers all webhook events related to variant stocks and inventory. ## Event Types The following stock-related events are available: - `variant_stock.updated` - Triggered when variant stock quantity is updated - `variant_stock.deleted` - Triggered when variant stock is removed - `variant_stock_delta.updated` - Triggered when a stock quantity change (delta) occurs ## Variant Stock Updated Event The `variant_stock.updated` event is triggered when a variant's stock quantity is updated. ### Event Structure ```json { "event_type": "variant_stock.updated", "payload": { "inventory_id": "INV-123", "product_parent_id": "123e4567-e89b-12d3-a456-426614174000", "product_variant_id": "123e4567-e89b-12d3-a456-426614174001", "product_variant_number": "VAR-123", "quantity": 100, "inventory_date": "2024-02-12T12:00:00Z", "update_source": "manual", "available_online": true, "stock_updated": true } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `inventory_id` | string | Unique identifier for the inventory record | | `product_parent_id` | string | ID of the parent product | | `product_variant_id` | string | ID of the variant | | `product_variant_number` | string | Variant number | | `quantity` | number | Current stock quantity | | `inventory_date` | string | Timestamp of the inventory update | | `update_source` | string | Source of the update (manual, system, etc.) | | `available_online` | boolean | Whether the stock is available for online purchase | | `stock_updated` | boolean | Whether was updated in the request or not | ## Variant Stock Deleted Event The `variant_stock.deleted` event is triggered when a variant's stock record is removed. ### Event Structure ```json { "event_type": "variant_stock.deleted", "payload": { "inventory_id": "INV-123", "product_parent_id": "123e4567-e89b-12d3-a456-426614174000", "product_variant_id": "123e4567-e89b-12d3-a456-426614174001", "product_variant_number": "VAR-123" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `inventory_id` | string | ID of the deleted inventory record | | `product_parent_id` | string | ID of the parent product | | `product_variant_id` | string | ID of the variant | | `product_variant_number` | string | Variant number | ## Variant Stock Delta Updated Event The `variant_stock_delta.updated` event is triggered when there's a change in stock quantity (increment or decrement). ### Event Structure ```json { "event_type": "variant_stock_delta.updated", "payload": { "inventory_id": "INV-123", "product_variant_number": "VAR-123", "quantity": 5, "delta": -20, "available_online": true } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `inventory_id` | string | ID of the inventory record | | `product_variant_number` | string | Variant number | | `quantity` | number | New total stock | | `delta` | number | Change in quantity (positive for increase, negative for decrease) | | `available_online` | boolean | Whether the stock is available for online purchase | --- # Store Group Events Source: https://docs.enad.io/integrations/events/store-groups This section covers all webhook events related to store groups, including store group updates, deletions, and market changes. ## Event Types The following store group-related events are available: - `store_group.update` - Triggered when a store group is created or modified - `store_group.deleted` - Triggered when a store group is deleted - `store_group_market.update` - Triggered when a store group's market is updated - `store_group_market.deleted` - Triggered when a market is removed from a store group ## Store Group Updated Event The `store_group.update` event is triggered when a store group is created or modified. ### Event Structure ```json { "event_type": "store_group.update", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "slug": "main-store", "name": "Main Store", "country_of_sale": "US", "description": "Primary retail store group", "channel_type": "retail", "markets": [ { "created": true, "country_code": "us", "is_tax_included_in_price": true, "is_tax_exemption_eligible": false, "currency_code": "USD" }, { "created": true, "country_code": "ca", "is_tax_included_in_price": true, "is_tax_exemption_eligible": true, "currency_code": "CAD" } ] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the store group | | `slug` | string | URL-friendly identifier | | `name` | string | Display name of the store group | | `country_of_sale` | string | Primary country of sale | | `description` | string | Store group description | | `channel_type` | string | Type of sales channel | | `markets` | array | Associated markets configuration | ## Store Group Deleted Event The `store_group.deleted` event is triggered when a store group is removed from the system. ### Event Structure ```json { "event_type": "store_group.deleted", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "slug": "main-store" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier of the deleted store group | | `slug` | string | URL-friendly identifier of the deleted store group | ## Store Group Market Updated Event The `store_group_market.update` event is triggered when a market within a store group is updated. ### Event Structure ```json { "event_type": "store_group_market.update", "payload": { "store_group_id": "123e4567-e89b-12d3-a456-426614174000", "store_group_slug": "main-store", "country_codes": ["us"], "currency_code": "USD", "is_tax_included_in_price": true, "is_tax_exemption_eligible": false, "created": true } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `store_group_id` | string | ID of the store group | | `store_group_slug` | string | Slug of the store group | | `country_code` | string | Two-letter ISO country code | | `currency_codes` | string array | Array of Three-letter ISO currency code | | `is_tax_included_in_price` | boolean | Whether prices include tax | | `is_tax_exemption_eligible` | boolean | Whether tax exemption is available | | `created` | boolean | Whether this is a new market | ## Store Group Market Deleted Event The `store_group_market.deleted` event is triggered when a market is removed from a store group. ### Event Structure ```json { "event_type": "store_group_market.deleted", "payload": { "store_group_id": "123e4567-e89b-12d3-a456-426614174000", "store_group_slug": "main-store", "country_codes": ["us"] } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `store_group_id` | string | ID of the store group | | `store_group_slug` | string | Slug of the store group | | `country_codes` | string array | Array Two-letter ISO country code of the removed market | --- # Tag Events Source: https://docs.enad.io/integrations/events/tags This section covers all webhook events related to tags, including tag updates and deletions. ## Event Types The following tag-related events are available: - `tags.updated` - Triggered when a tag is updated - `tags.deleted` - Triggered when a tag is deleted ## Tag Updated Event The `tags.updated` event is triggered when a tag is created or modified. ### Event Structure ```json { "event_type": "tags.updated", "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "key": "tag-key", "name": "Tag Name", "translations": { "name": [ { "country_code": "us", "value": "Tag Name" }, { "country_code": "es", "value": "Nombre de Etiqueta" } ] }, "filterable": false, "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174001", "name": "Color", "description": "Color attribute", "key": "color", "template_key": "color_template", "values": { "color": [ { "id": "123e4567-e89b-12d3-a456-426614174002", "key": "red", "type": "color", "value": "Red", "translations": { "value": [ { "country_code": "us", "value": "Red" }, { "country_code": "es", "value": "Rojo" } ] } } ] }, "translations": { "name": [ { "country_code": "us", "value": "Color" }, { "country_code": "es", "value": "Color" } ], "description": [ { "country_code": "us", "value": "Color attribute" }, { "country_code": "es", "value": "Atributo de color" } ] }, "filterable": true, "translatable": true, "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z" } ], "created_at": "2024-02-12T12:00:00Z", "updated_at": "2024-02-12T12:00:00Z", "status": "active" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the tag | | `key` | string | Unique key identifier for the tag | | `name` | string | Display name of the tag | | `translations` | object | Localized content for the tag | | `filterable` | boolean | Whether the tag can be used for filtering | | `attributes` | array | Associated attributes for the tag | | `created_at` | string | Creation timestamp | | `updated_at` | string | Last update timestamp | | `status` | string | Tag status (active, inactive) | ## Tag Deleted Event The `tags.deleted` event is triggered when a tag is removed from the system. ### Event Structure ```json { "event_type": "tags.deleted", "payload": { "tag_id": "123e4567-e89b-12d3-a456-426614174000" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `tag_id` | string | Unique identifier of the deleted tag | --- # User Events Source: https://docs.enad.io/integrations/events/users This section covers all webhook events related to users, including user creation, updates, email verification, and deletions. ## Event Types The following user-related events are available: - `user.create` - Triggered when a new user is created - `user.update` - Triggered when a user's information is modified - `user.verify_email_success` - Triggered when a user verifies their email - `user.deleted` - Triggered when a user is deleted ## User Created/Updated/Verified Event The `user.create`, `user.update`, and `user.verify_email_success` events share the same payload structure. ### Event Structure ```json { "event_type": "user.create", // or user.update, user.verify_email_success "payload": { "id": "123e4567-e89b-12d3-a456-426614174000", "email": "john.doe@example.com", "first_name": "John", "last_name": "Doe", "status": "active", "market": "US", "store_group": "main-store", "language": "en", "additions": { "newsletter_subscription": "true", "account_type": "personal" }, "email_verified": true, "phone_number": "+1234567890", "communication_preferences": { "email_marketing": true, "sms_marketing": false, "push_notifications": true }, "address": { "street": "123 Main St", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US", "is_default": true } } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier for the user | | `email` | string | User's email address | | `first_name` | string | User's first name | | `last_name` | string | User's last name | | `status` | string | The user's status. Can be `active`, `inactive`, or `pending`. | | `market` | string | User's primary market | | `store_group` | string | Associated store group | | `language` | string | Preferred language code | | `additions` | object | Additional custom user attributes | | `email_verified` | boolean | Whether email is verified | | `phone_number` | string | User's phone number | | `communication_preferences` | object | Marketing and communication preferences | | `address` | object | Default shipping/billing address | ## User Deleted Event The `user.deleted` event is triggered when a user is removed from the system. ### Event Structure ```json { "event_type": "user.deleted", "payload": { "user": { "id": "123e4567-e89b-12d3-a456-426614174000", "email": "john.doe@example.com", "first_name": "John", "last_name": "Doe", "status": "inactive", "market": "US", "store_group": "main-store", "language": "en", "additions": {}, "email_verified": true, "phone_number": "+1234567890", "communication_preferences": {}, "address": {} }, "soft_delete": true } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `user` | object | Complete user object being deleted | | `soft_delete` | boolean | Whether this is a soft delete (recoverable) | --- # Variant Events Source: https://docs.enad.io/integrations/events/variants This section covers all webhook events related to variants, including variant creation, updates, and deletions. ## Event Types The following variant-related events are available: - `variant.created` - Triggered when a new variant is created - `variant.updated` - Triggered when an existing variant is modified - `variant.deleted` - Triggered when a variant is deleted - `product_variant_status.changed` - Triggered when a variant status have changed ## Variant Created/Updated Event The `variant.created` and `variant.updated` events share the same payload structure. ### Event Structure ```json { "event_type": "variant.created", // variant.updated "payload": { "product_number": "PROD-123", "product_id": "123e4567-e89b-12d3-a456-426614174000", "product_slug": "sample-product", "variant_group": { "id": "123e4567-e89b-12d3-a456-426614174008", "product_id": "123e4567-e89b-12d3-a456-426614174000", "name": "Blue", "slug": "blue", "tags": [ { "id": "123e4567-e89b-12d3-a456-426614174009", "key": "color", "name": "Color", "translations": { "name": [ { "country_code": "us", "value": "Color" } ] }, "filterable": false, "attributes": [], "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-12T10:00:00Z", "status": "active" } ], "images": [ { "id": "123e4567-e89b-12d3-a456-426614174010", "url": "https://example.com/images/coffee-maker-blue.jpg", "alt": "Premium Coffee Maker - Blue", "status": "active", "title": "Premium Coffee Maker - Blue", "copyright": "© 2024 Your Brand", "sort": 1, "created_with_ai": false, "attributes": [] } ], "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174011", "name": "Material", "key": "material", "template_key": "material_template", "values": { "material": [ { "id": "123e4567-e89b-12d3-a456-426614174012", "key": "steel", "type": "material", "value": "Steel", "translations": { "value": [ { "country_code": "us", "value": "Steel" } ] } } ] }, "filterable": true, "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-12T10:00:00Z" } ], "created_at": "2024-02-12T10:00:00Z", "updated_at": "2024-02-15T14:30:00Z" }, "variant_name": "Sample Variant", "variant_number": "VAR-123", "validate_stock": true, "status": "active", "id": "123e4567-e89b-12d3-a456-426614174001", "images": [ { "id": "123e4567-e89b-12d3-a456-426614174001", "url": "https://example.com/images/coffee-maker.jpg", "alt": "Premium Coffee Maker", "status": "active", "title": "Premium Coffee Maker - Main Image", "copyright": "© 2024 Your Brand", "sort": 1 } ], "translations": { "variant_name": [ { "country_code": "us", "value": "Sample Variant" }, { "country_code": "es", "value": "Variante de Muestra" } ], "variant_description": [ { "country_code": "us", "value": "Sample variant description" }, { "country_code": "es", "value": "Descripción de la variante" } ], "product_slug_translations": [ { "country_code": "us", "value": "sample-product" }, { "country_code": "es", "value": "producto-muestra" } ] }, "description": "Sample variant description", "image_url": "https://example.com/images/variant.jpg", "is_active": true, "attributes": [ { "id": "123e4567-e89b-12d3-a456-426614174002", "name": "Size", "key": "size", "template_key": "size_template", "values": { "size": [ { "id": "123e4567-e89b-12d3-a456-426614174003", "key": "large", "type": "size", "value": "Large", "translations": { "value": [ { "country_code": "us", "value": "Large" } ] } } ] } } ], "product_dimensions": { "width": 10, "height": 20, "length": 30, "depth": 15, "weight": 1000, "diameter": 5, "capacity_milliliter": 500 }, "package_dimensions": { "width": 15, "height": 25, "length": 35, "depth": 20, "weight": 1200, "diameter": 10, "capacity_milliliter": 0 }, "is_archive": false, "shipping_attributes": ["fragile", "oversized"], "listings": { "static": [ { "id": "123e4567-e89b-12d3-a456-426614174006", "slug": "static-listing" } ], "smart": [ { "id": "123e4567-e89b-12d3-a456-426614174007", "slug": "smart-listing" } ] } } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_number` | string | Parent product number | | `product_id` | string | Parent product ID | | `product_slug` | string | Parent product slug | | `variant_group` | object \| omitted | Present when the variant belongs to a variant group: `id`, `product_id`, `name`, `slug`, `tags`, `images`, `attributes`, `created_at`, `updated_at`. `tags` are Tag objects with `id`, `key`, `name`, `translations`, `filterable`, `attributes`, `created_at`, `updated_at`, `status`. `images` are ProductImage objects with `id`, `url`, `alt`, `status`, `title`, `copyright`, `sort`, `created_with_ai`, `attributes`. `attributes` are Attribute objects with `id`, `name`, `description`, `key`, `template_key`, `values`, `translations`, `filterable`, `created_at`, `updated_at`. Omitted when ungrouped. If only the group id could be resolved, `name`, `slug`, `tags`, `images`, and `attributes` may be empty. | | `variant_name` | string | Name of the variant | | `variant_number` | string | Unique variant number | | `validate_stock` | boolean | Whether to validate stock for this variant | | `status` | string | Variant status (active, inactive, draft, archived) | | `images` | array | Variant images | | `id` | string | Unique identifier for the variant | | `translations` | object | Localized content for the variant | | `description` | string | Variant description | | `image_url` | string | URL of the variant's main image | | `is_active` | boolean | Whether the variant is active | | `attributes` | array | Structured attributes with translations | | `product_dimensions` | object | Physical dimensions of the product | | `package_dimensions` | object | Shipping package dimensions | | `shipping_attributes` | array | Special shipping requirements | | `listings` | object | Static and smart listing references | `variant.deleted` and `product_variant_status.changed` payloads do **not** include `variant_group`. ## Variant Deleted Event The `variant.deleted` event is triggered when a variant is removed from the system. ### Event Structure ```json { "event_type": "variant.deleted", "payload": { "variant_id": "123e4567-e89b-12d3-a456-426614174000", "variant_number": "VAR-123", "product_parent_id": "123e4567-e89b-12d3-a456-426614174001" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `variant_id` | string | Unique identifier of the deleted variant | | `variant_number` | string | Variant number of the deleted variant | | `product_parent_id` | string | ID of the parent product | ## Variant Status Changed The `product_variant_status.changed` event is triggered when a variant's status is modified. ### Event Structure ```json { "event_type": "product_variant_status.changed", "payload": { "product_id": "123e4567-e89b-12d3-a456-426614174000", "product_number": "PROD-123", "variant_id": "123e4567-e89b-12d3-a456-426614174001", "variant_number": "VAR-123", "timestamp": "2024-01-15T10:30:00Z", "old_status": "draft", "new_status": "active" } } ``` ### Field Descriptions | Field | Type | Description | |-------|------|-------------| | `product_id` | string | Unique identifier of the parent product | | `product_number` | string | Product number of the parent product | | `variant_id` | string | Unique identifier of the variant | | `variant_number` | string | Variant number | | `timestamp` | string | ISO 8601 timestamp when the status change occurred | | `old_status` | string | Previous status of the variant | | `new_status` | string | New status of the variant | --- # Gamifiera Source: https://docs.enad.io/integrations/gamifiera Gamifiera The Gamifiera integration connects an Enad app to Gamifiera and defines which system supplies customer identifiers. ## Requirements Configuration requires a Gamifiera API key and one merchant user identifier source: - **Voyado** - **Klaviyo** - **Enad** ## Related - [Merchant users](/merchant-users/merchant-users) - [Users](/integrations/events/users) - [Klaviyo](/integrations/klaviyo) - [Voyado](/integrations/voyado) --- # Gamifiera configuration Source: https://docs.enad.io/integrations/gamifiera/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes the API key and **User ID source**. The user ID source determines where Gamifiera resolves [merchant user](/merchant-users/merchant-users) IDs: - **Voyado** sends the Voyado contact ID stored on the Enad user by the [Voyado](/integrations/voyado) integration. - **Klaviyo** sends the Klaviyo profile ID stored by the [Klaviyo](/integrations/klaviyo) integration. - **Enad** sends the Enad merchant user ID. Voyado and Klaviyo sources require that the matching integration has already synced the user. If the stored ID is missing, the update fails and is retried until the ID exists. ## Related - [Gamifiera](/integrations/gamifiera) --- # Gamifiera events Source: https://docs.enad.io/integrations/gamifiera/events The integration handles exactly one event: merchant user create and update. | Event | What Enad sends | |---|---| | User created or updated | The customer ID, email, first name, and last name to Gamifiera. The customer ID comes from the configured source: the user's Voyado ID, Klaviyo ID, or the Enad user ID. | | User unchanged | Not sent again. | | User deleted, status changed, password reset, or email verified | Not forwarded. | ## Related - [Gamifiera](/integrations/gamifiera) - [Gamifiera configuration](/integrations/gamifiera/configuration) --- # Google Retailer Source: https://docs.enad.io/integrations/google-retailer Google The Google Retailer integration connects Enad price and stock data to a Google Cloud retail catalog and branch. :::note The integration does not sync product catalog data. It updates inventory on products that already exist in the Google branch, so the Google catalog must be populated separately. Unknown SKUs receive a minimal product stub when Enad updates their inventory. ::: ## Requirements The Enad market and online warehouse must exist before configuration. Required Google Cloud values: - Project - Location - Catalog - Branch - Service-account security key as a JSON object ## Prices Only prices for the selected market are sent. Prices are tax-inclusive, and the sale price is used as the price when the product is on sale, with the regular amount as the original price. Unchanged prices are not sent again. ## Stock The selected online warehouse drives the product's global availability and quantity. Every other warehouse with stock becomes a local inventory on the product, carrying the warehouse slug and an availability value. Stock availability reports out of stock only when the stock change is stock-validated. Otherwise a zero quantity can still be reported as in stock. Negative quantities are sent as 0. Stock updates are not deduplicated, so every change is delivered. ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Stocks](/integrations/events/stocks) --- # Google Retailer configuration Source: https://docs.enad.io/integrations/google-retailer/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup). The selected Enad market and online warehouse define the scope of the connection. :::warning The security-key JSON is a secret and must not appear in support messages, logs, or documentation. ::: ## Related - [Google Retailer](/integrations/google-retailer) --- # Google Retailer events Source: https://docs.enad.io/integrations/google-retailer/events The integration sends price and stock changes to the configured Google Cloud Retail catalog and branch over the Retail API. It never syncs product catalog data, so the Google catalog must be populated separately. When Enad updates the inventory of a SKU that does not exist in the branch, Google creates a minimal product stub for it. ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group) | The price of the variant for the configured market: the tax-inclusive regular amount as the original price, and when the product is on sale, the sale price as the price. The currency comes from the market. | | Single price updated (one market) | The same write for that market's price. | | Price unchanged | Not sent again. | Prices for other markets are ignored. ## Stock | Event | What Enad sends | |---|---| | Stock updated or delta | A local inventory entry for the warehouse the change came from, carrying the warehouse slug and an availability value. Availability reports out of stock only when the quantity is zero or below and the variant validates stock; otherwise in stock. Negative quantities are sent as 0. Always delivered, without deduplication. | | Stock from the configured online warehouse | Also sets the product's global availability and available quantity. | | Inventory removed | The same flow with quantity 0 and stock validation on, so both the product and its local inventory report out of stock. | ## Field mapping | Enad data | Google destination | |---|---| | Variant number | Product ID under the store's `enad` branch | | Regular price | `priceInfo.originalPrice` | | Sale price | `priceInfo.price` | | Currency | From the configured market | | Stock quantity with **Validate stock** | `availability` in stock or out of stock | | Collection membership | Product IDs under each collection branch | ## Related - [Google Retailer](/integrations/google-retailer) - [Google Retailer configuration](/integrations/google-retailer/configuration) --- # Integrations Source: https://docs.enad.io/integrations/integrations Integrations connect Enad to external systems for commerce, content, marketing, and AI workflows. :::note Each integration is configured in Enad Admin at [app.enad.io](https://app.enad.io) under **System → Integrations**. These pages give an overview of the available integrations; the required connection details and settings are shown when you create or edit an integration in the app. ::: ## Integration setup Integration management is available under **System → Integrations** in Enad Admin. 1. **Create integration** opens the integration type selection. 2. Each integration type defines its required connection details and settings. 3. Saving the configuration creates the integration. 4. **Status → Integration validation** shows the connection checks. The refresh control runs the checks again. 5. An integration must remain active for Enad to use it. :::note Enad does not send unchanged secrets again when an integration is edited. Some secret fields show a masked placeholder. A new value replaces the saved secret. ::: Saved integrations have **Details**, **Status**, and **Sync** tabs. **Sync** sends all or selected Enad data again, for example after a new destination is connected or its configuration changes. Available data types depend on the integration. Existing configuration is available through **Edit** in the integration panel header. ## AI **[AI](/integrations/ai)** Enad AI Turn on AI-assisted product content, SEO text, translations, image processing, and AI Studio. ## Commerce **[Brink Commerce](/integrations/brink-commerce)** Brink Commerce Connect Enad catalog data to selected Brink Commerce store groups. **[Shopify](/integrations/shopify)** Shopify Connect a Shopify store and map it to an Enad store group and currency. **[Centra](/integrations/centra)** Centra Map Centra stores and supporting catalog configuration to Enad. **[Sitoo](/integrations/sitoo)** Sitoo Connect products, stock, prices, and categories to Sitoo. ## Discovery and marketing **[Nosto](/integrations/nosto)** Nosto Configure the catalog and store groups that Enad sends to Nosto. **[Klaviyo](/integrations/klaviyo)** Klaviyo Send catalog and order data to Klaviyo for marketing and customer insights. **[Voyado](/integrations/voyado)** Voyado Connect Voyado and choose how Enad matches merchant users. **[Google Retailer](/integrations/google-retailer)** Google Connect an Enad market and online warehouse to a Google retail catalog. **[Gamifiera](/integrations/gamifiera)** Gamifiera Connect Gamifiera and choose where customer identifiers come from. ## Content **[Storyblok](/integrations/storyblok)** Storyblok Sync products, collections, categories, brands, and series into a Storyblok space. ## Custom connections **[Webhooks](/integrations/webhooks)** Webhooks Send selected Enad events to a custom HTTP endpoint. ## Related workflows - [Webhooks](/integrations/webhooks) describes webhook event delivery and payloads. - [Revalidate](/storefront/revalidate/revalidate) notifies storefronts when cached catalog content needs to be refreshed. --- # Klaviyo Source: https://docs.enad.io/integrations/klaviyo Klaviyo The Klaviyo integration synchronizes product catalog and order data, customer profiles, and lifecycle events for email marketing and customer insights. ## Requirements Required connection details: - Klaviyo API key - Enad store group and a rate limit for catalog requests - Optional Enad market and warehouse for a scoped connection - Optional Klaviyo newsletter list ID - Storefront product URL prefix ## Catalog Products are sent as Klaviyo catalog items and variants as catalog variants, both identified by the Enad ID under Klaviyo's custom integration namespace. Unchanged records are not sent again. - Product prices come from the configured store group, filtered by the configured market when one is set. Sale prices are used when the price is on sale. - Product URLs are the configured prefix plus the product slug. - Products with variant groups are split into one catalog item per variant group, with URLs of the form `-`. - Variant inventory quantity comes from the configured warehouse. Variants that do not validate stock report an open inventory policy. - Products are published when active or inactive after status overrides; variants only when active. Prices and stock updates for the configured store group re-sync the affected variant, which is how price and inventory changes reach Klaviyo. ## Profiles and events Customer profiles are matched by email first, then phone number. The Klaviyo profile ID is stored on the Enad user and reused. A profile that is already linked to a different Enad user fails permanently. Deleting a merchant user submits a Klaviyo data privacy deletion job and sends an "Account Deleted" event. Marketing consent is only ever subscribed. Turning email or SMS consent off in Enad does not send an unsubscribe to Klaviyo. The following events are sent, so Klaviyo flows can be built on them: - **Reset Password** and **Created Account** on password reset and sign-up - **Confirmed Account** once after email verification - **Account Deleted** on deletion - **enadUserStatusChanged** on status changes - With **Sync orders**: **Placed Order**, **Confirmed Order**, **Updated Order**, **Delivered Order**, **Cancelled Order**, **Released Order**, **Compensated Order**, and **Refunded Order** Order event properties include line items with SKU, size, product URLs, categories, brands, totals, and billing and shipping addresses. With the **Sales currency code** setting, order amounts are converted to the store's sales currency before they are sent; see [Order currency](/integrations/klaviyo/order-currency). ## Related - [Merchant users](/merchant-users/merchant-users) - [Products](/integrations/events/products) - [Variants](/integrations/events/variants) - [Prices](/integrations/events/prices) --- # Klaviyo configuration Source: https://docs.enad.io/integrations/klaviyo/configuration ## Sync scope - **Sync catalog** is on by default and sends products, variants, and categories with their prices. - **Sync orders** is off by default and sends order events. - **Sync back in stock** is off by default and updates catalog variant inventory so Klaviyo Back in Stock flows can trigger. The store group is required. Market and warehouse are optional scoping fields. ## Configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup). **Rate limit** applies to catalog requests; profile and event requests are throttled separately. It can be 0 or greater. **User lookup strategy** controls whether Enad matches [merchant users](/merchant-users/merchant-users) by email, phone number, or both. **Merchant user store groups** limits which store groups' merchant users are synced. **Sales currency code** converts order amounts to a reporting currency before they are sent to Klaviyo; see [Order currency](/integrations/klaviyo/order-currency). ## Related - [Klaviyo](/integrations/klaviyo) --- # Klaviyo events Source: https://docs.enad.io/integrations/klaviyo/events The integration syncs catalog data, customer profiles, lifecycle events, and optional order events to Klaviyo. Catalog sync, order sync, and back-in-stock are each controlled by their own setting in the configuration, and a store group allowlist and optional market limit the merchant user and price events. Catalog items and variants are keyed by the Enad ID under Klaviyo's custom integration namespace. ## Products | Event | What Enad sends | |---|---| | Product created or updated | A Klaviyo catalog item with title, description, price, URL, images sorted by priority, and custom metadata: titles, slugs, and translations, plus category, tag, and collection names and per-store-group price fields. Products with variant groups are split into one catalog item per variant group, with URLs of the form `-`. Category relationships are attached to the item. | | Product unchanged | Not sent again. | | Product active or inactive | Publishes the item. Archived and other statuses keep it unpublished. When the product status is active, a per-market status override applies. | | Product deleted | Deletes the catalog item and, when the product has variant groups, every variant-group item for that product. An item that was never synced is skipped. | ## Variants | Event | What Enad sends | |---|---| | Variant updated | A Klaviyo catalog variant with name, description, URL, SKU, price, inventory quantity, images, and attribute metadata. The parent catalog item must already be synced, otherwise the variant update is retried until it is. Inventory is counted from the configured warehouse, and variants that do not validate stock report an open inventory policy. | | Variant unchanged | Not sent again. | | Variant active | Published. Only active variants publish. | | Variant deleted | Deletes the catalog variant. | ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group or single market) | Re-sends the affected catalog variant with recomputed prices, which is how price changes reach Klaviyo. Price events for other store groups or markets are ignored. Unchanged variants are not sent again. | ## Stock | Event | What Enad sends | |---|---| | Stock change from zero or below to positive | Updates the variant's inventory quantity in Klaviyo, which triggers Klaviyo's own back-in-stock flow. Klaviyo notifies the subscribers; Enad does not send subscriber events. Requires **Sync back in stock**. | | Any other stock change | Ignored. | ## Categories | Event | What Enad sends | |---|---| | Category upsert | Syncs as a Klaviyo catalog category, keyed by the Enad category ID. | | Category unchanged | Not sent again. | | Category deleted | Deletes the catalog category. | | Category relationship created | Attaches the category on the catalog item. Retried until both the item and the category are synced. | | Category relationship deleted | Removes the category from the catalog item. Skipped when either side is unknown. | ## Orders | Event | What Enad sends | |---|---| | Order upsert with **Sync orders** | One Klaviyo event named after the order status: **Placed Order**, **Confirmed Order**, **Updated Order**, **Delivered Order**, **Cancelled Order**, **Released Order**, **Compensated Order**, or **Refunded Order**. Line items are embedded in the order event's properties with SKU, size, product URLs, categories, brands, and totals, alongside billing and shipping addresses, shipping details, and the order total that feeds Klaviyo's customer lifetime value. | | Order delete | Ignored. | Line items are not sent as separate events. When **Sales currency code** is set, the amounts in order events are converted to the sales currency first; see [Order currency](/integrations/klaviyo/order-currency). ## Profiles and events Customer profiles are matched by the stored Klaviyo profile ID, then by email and phone number according to **User lookup strategy**. Profile data carries names, language, address, phone, and custom attributes, and the profile ID is stored back on the Enad user. A profile already linked to a different Enad user fails permanently. Marketing consent is only ever subscribed. Turning email or SMS consent off in Enad does not send an unsubscribe to Klaviyo. | Event | What Enad sends | |---|---| | Password reset | A **Reset Password** event with the reset token in the properties. | | Sign-up | A **Created Account** event with the verification token in the properties, plus `RegisteredCustomer` and `EnadVerified` flags and the user's language. | | Email verified | A **Confirmed Account** event, once per user. Later verifications are skipped. | | User deleted | A data privacy deletion job, so Klaviyo removes the profile, plus an **Account Deleted** event. | | Status change | An **enadUserStatusChanged** event with the old and new status. | Order and lifecycle events are named metrics in Klaviyo, so flows and segments can trigger on these exact names: **Reset Password**, **Created Account**, **Confirmed Account**, **Account Deleted**, **enadUserStatusChanged**, and, with **Sync orders**, **Placed Order**, **Confirmed Order**, **Updated Order**, **Delivered Order**, **Cancelled Order**, **Released Order**, **Compensated Order**, and **Refunded Order**. ## Field mapping | Enad data | Klaviyo destination | |---|---| | Product ID | Catalog item `external_id` | | Product name | `title` | | Price | Catalog item `price`, from the configured store group and market, sale price when on sale | | URL prefix and slug | Catalog item `url` | | Images | `image_full_url`, `image_thumbnail_url`, and the sorted `images` list | | Category, tag, and collection names | `custom_metadata` | | Per-store-group prices | `custom_metadata` price fields per store group and market | | Variant ID | Catalog variant `external_id` | | Variant name | `title` | | Variant number | `sku` | | Warehouse stock | `inventory_quantity` and `inventory_policy` | | Variant attributes | `custom_metadata` grouped by template key | | Categories | Catalog categories and item relationships | | Orders | One event per order with line items, addresses, and totals; grand total in `$value` | | Users | Profiles matched by stored ID, then email and phone; profile ID stored back on the user | ## Related - [Klaviyo](/integrations/klaviyo) - [Klaviyo configuration](/integrations/klaviyo/configuration) --- # Klaviyo order currency Source: https://docs.enad.io/integrations/klaviyo/order-currency Klaviyo reports order event amounts in the currency Enad sends them in and labels them with that currency. When a store sells in several currencies, Klaviyo therefore reports, for example, an EUR 240 order as SEK 240, which misstates revenue in Klaviyo's reports. ## Sales currency code Set **Sales currency code** in the integration settings to an ISO 4217 currency code, such as `SEK` or `EUR`. With the setting set, incoming order amounts are converted from the order's own currency into the sales currency before they are sent to Klaviyo, so Klaviyo reports sales in the merchant's reporting currency. With the setting empty, order amounts are sent unconverted, unchanged from the previous behavior. ## Exchange rates A scheduled job fetches exchange rates every 6 hours into an exchange-rates store: EUR-anchored rates for all active ISO 4217 currencies, from Frankfurter, with open.er-api.com as a fallback source. The rate used for an order is the rate published for the order's date. Weekend and holiday orders fall back to the latest published rate. ## What gets converted Converted amounts: - Order total - Tax - Discounts - Per-line prices - Shipping cost Amounts Enad keeps in the customer's own currency, the fields ending in `InCustomerCurrency`, are left untouched, so order confirmations and receipts still show what the customer actually paid. ## Unresolvable rates If the order's currency or the rate for it cannot be resolved, the order is sent unconverted rather than failing. An unconverted order keeps its original currency, so it can be reprocessed once rates are available. ## Related - [Klaviyo](/integrations/klaviyo) - [Klaviyo configuration](/integrations/klaviyo/configuration) - [Klaviyo events](/integrations/klaviyo/events) --- # Nosto Source: https://docs.enad.io/integrations/nosto Nosto The Nosto integration connects Enad catalog data to a Nosto account for a selected market, store group, and online warehouse. ## Requirements Configuration requires Nosto REST and GraphQL API keys. The selected Enad market, store group, and online warehouse must already exist. ## Availability A product is reported as discontinued when it is inactive or priced at or below zero. Stock is counted only from the configured online warehouse, and variants that do not validate stock count as in stock regardless of quantity. ## Attributes Enad writes a large set of Nosto attributes that storefront templates can read: - `reference_price_` per store group, `exclude_from_feeds`, `brand_slug`, `brand_name`, `serie_slug`, and `serie_name` - `tags_raw` and `relations_raw` as JSON, and `tag_sort_` for tag order - `attr__names` and numbered `attr__` entries for attributes, with product dimensions under `product_dimensions_*`, `package_dimensions_*`, and `variant_dimensions_*` - Per SKU: `attr_`, `on_sale`, `sale_start_date`, `sale_end_date`, and `validate_stock` - Per warehouse: `warehouse_` and `warehouse__count` ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Products](/integrations/events/products) --- # Nosto configuration Source: https://docs.enad.io/integrations/nosto/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes: - **Market, store group, and online warehouse**: the market selects the currency and prices, the store group selects prices and status, and the online warehouse supplies stock levels. - **Locale** resolves translations for names, descriptions, and URLs. - **Variation ID** sent as the Nosto `variantId` on products. - **Sync store groups** adds the selected store groups as Nosto variations, each carrying that group's price for the market. It also filters which price updates are processed. - **Product and category base URLs** define the storefront URL prefixes used in Nosto. - **Product name structure** controls which product name is sent: `product_name` (default) or `brand_name_product_name`, which prefixes the brand name unless the name already starts with it. - **Product slug structure** controls the product URL: `product_slug` (default), `product_slug-variant_group_slug`, `main_category/product_slug`, or `main_category/product_slug-variant_group_slug`. Structures that use the main category require each product to have one. - **Include custom fields keys** limits which Enad custom fields are sent to Nosto as attributes. An empty selection includes all of them. Prices and currency come from the configured market. A product that does not belong to that market is skipped entirely. ## Related - [Nosto](/integrations/nosto) --- # Nosto events Source: https://docs.enad.io/integrations/nosto/events The integration sends catalog data to Nosto over the GraphQL API, for the configured market, store group, and online warehouse. When **Sync store groups** is set, events for other store groups are ignored; price events are additionally filtered to the configured market. Nosto products are identified by the Enad product number, and SKUs by the Enad variant number. Deleted products are discontinued in Nosto rather than removed, because Nosto only supports discontinuing products. ## Products | Event | What Enad sends | |---|---| | Product created | A Nosto product via the create mutation: name, description, images, brand, tags as `tag1`, collections as `tag2`, series as `tag3`, category URL paths, SKUs with per-variant prices and availability, per-store-group price variations, and the attribute set described on the main page. | | Product updated | The same payload via the update mutation. | | Product unchanged | Not sent again. | | Product deleted | Discontinues the product through the REST API. Always sent. | Product pricing comes from the configured store group and market, sale prices included. Availability is computed from status, stock in the online warehouse, and price: an inactive product or one priced at or below zero is discontinued in Nosto. When the product status is active, a per-market status override applies. ## Variants | Event | What Enad sends | |---|---| | Variant updated or deleted | Nothing. Variants reach Nosto only as SKUs inside the parent product payload, so a variant change syncs when the product, its prices, or its stock are next sent. | ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group or single market) | Reloads the full product and sends a product patch with recomputed prices and availability for the configured store group and market. Unchanged patches are not sent again. | ## Stock | Event | What Enad sends | |---|---| | Stock updated or delta | Reloads the parent product and sends a patch with recomputed availability and stock levels for the product and all its SKUs. Inventory is counted from the configured online warehouse. Always sent, without deduplication. | | Inventory removed | The same patch flow, with that SKU marked out of stock at quantity 0. | A zero-priced product flips to discontinued when availability is recomputed. ## Categories | Event | What Enad sends | |---|---| | Category upsert | Creates or updates the category in Nosto with its URL path and parent, keyed by the Enad category ID. Unchanged categories are not sent again. | | Category deleted | Nothing. Deleted categories are never removed in Nosto. | | Category relationship created or deleted | Nothing. Category membership is part of the product payload and updates when products sync. | ## Tags, attributes, and images | Event | What Enad sends | |---|---| | Tag or image relationship created or deleted | Rebuilds and resends the full product payload, which is how new tags and images reach Nosto. Always sent, without deduplication. | | Attribute events | Nothing. Attributes sync only as part of full product rebuilds. | Brand and series values reach Nosto inside the product payload. ## Field mapping | Enad data | Nosto destination | |---|---| | Product number | Product ID (`product_id`) | | Variant number | SKU ID | | Product name | `name`, shaped by **Product name structure** (brand name prepended when selected) | | Slug and product URL prefix | Product and SKU URLs | | Description | `description`, HTML description first, then plain, then the locale translation | | Images | First image as `image_url`, the rest as `alternate_image_urls`; variant images on their SKU | | Brand | `brand`, plus the `brand_slug` and `brand_name` custom fields | | Series | `tag3`, plus the `serie_slug` and `serie_name` custom fields | | Tags | `tag1`, plus `tags_raw` and `tag_sort_` custom fields | | Collections | `tag2` | | Categories | `categories` as URL paths and `categoryIds` as Enad category IDs | | Price | `price` and `listPrice` on the product variation for the configured store group and market, tax-inclusive, with the sale price taking the `price` slot | | Stock | `inventory_level` from the configured online warehouse, per product and per SKU | | Attributes | `attr__names` and numbered `attr__` custom fields | | Dimensions | `product_dimensions_*`, `package_dimensions_*`, and `variant_dimensions_*` custom fields | | Relations | `relations_raw` custom field | | Warehouses | `warehouse_` and `warehouse__count` custom fields | | Custom fields | Sent as key/value attributes, optionally filtered by **Include custom fields keys** | | Created at | `date_published` | | Market | `price_currency_code` and the availability math | ## Related - [Nosto](/integrations/nosto) - [Nosto configuration](/integrations/nosto/configuration) --- # Shopify Source: https://docs.enad.io/integrations/shopify Shopify The Shopify integration connects a Shopify store to an Enad store group and defines the defaults used for Shopify data. ## Requirements Required connection details: - Shopify store name - Shopify Admin API access token - Enad store group - Default currency ## Variant options How Enad turns Enad variants into Shopify product options, including example cases for a single variant, multiple variants, and color or multi-option products, is documented on the [variant options](/integrations/shopify/variant-options) page. ## Default currency and pricing The Enad store group and **Default currency** select the variant's base price in Shopify. When a price arrives for the default store group in the default currency, Enad writes it directly to the Shopify variant. If the price is on sale, the regular amount moves to the compare-at price and the sale price becomes the price. Prices for other markets are written to Shopify price lists, one per store group and market. Enad creates a missing price list automatically. A price is skipped when the market has no currency or when the price list currency does not match the market currency. When **Variant catalog requires active price** is on, a variant without an active price is removed from the Shopify catalog for its store group and re-added when a price arrives. ## Publications Without publications, products are synced to the store's online store. Each configured **Publication** maps a Shopify sales channel to an Enad store group and, optionally, one or more markets. A product is published to a channel when it is active for that store group and market, and removed from the channel when it is not. Publications that no longer exist in Shopify are skipped until the configuration is updated. ## Merchant users **User lookup strategy** controls how Enad matches an incoming merchant user to an existing Shopify customer: by email, by phone number, or both (default). **Merchant user store groups** restricts syncing to the merchant users of the selected store groups. ## Field and metaobject mapping **Field mapper** and **Variant field mapper** write product-level and variant-level Enad fields to Shopify metafields. Sources include product fields, variant group fields, custom fields, attributes, relations, and tags. Each mapping targets a metafield in the form `namespace.key` with a Shopify metafield type such as `single_line_text_field`, `number_integer`, `color`, or `list.url`. **Metaobject mapper** creates and updates Shopify metaobjects from the same sources. A mapping can write the metaobject reference to a product or variant metafield, and a linked option connects a Shopify option's values to metaobject entries instead of plain text values. ## Rate limits **Tier** matches the integration's GraphQL cost budget to the store's Shopify plan: `standard` (default, 100 points), `advanced` (200), `plus` (1000), or `enterprise` (2000). ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Attributes](/catalog/attributes) - [Merchant users](/merchant-users/merchant-users) --- # Shopify configuration Source: https://docs.enad.io/integrations/shopify/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes the store name, token, Enad store group, and default currency. The following settings change how Enad prepares data for Shopify: - **Variant option sources** selects where Shopify product option values come from: the variant name or an Enad attribute template key. When empty, Enad derives options from variant attributes. - **Color option name** names the Shopify option that holds the variant group name. Defaults to `Color`. - **Option value sort order** orders option values: `created_at_asc` (default), `created_at_desc`, `name_asc`, or `name_desc`. - **Product title** sets the Shopify product title for variant groups: `product_name_dash_variant_group_name` (default), `product_name_space_variant_group_name`, `product_name`, or `variant_group_name`. - **Barcode, HS code, and country of origin custom fields** read Enad custom field keys and write them to the matching Shopify inventory fields. - **Image attributes** includes or excludes product images that carry the selected Enad attributes. - **Merchant user store groups** limits which store groups' [merchant users](/merchant-users/merchant-users) are synced. - **User lookup strategy** controls whether Enad matches merchant users by email, phone number, or both. - **Publications** maps Shopify sales channels to Enad store groups and markets. - **Field mapper** and **Variant field mapper** write Enad fields to Shopify metafields. - **Metaobject mapper** creates Shopify metaobjects from Enad data and can link option values to them. - **Tier** matches the rate limit to the store's Shopify plan. - **Variant catalog requires active price** keeps a variant out of the Shopify catalog until it has an active price. Variant options have their own page: [Variant options](/integrations/shopify/variant-options). ## Related - [Shopify](/integrations/shopify) --- # Shopify events Source: https://docs.enad.io/integrations/shopify/events The integration receives catalog, price, stock, category, collection, market, warehouse, and merchant user events and writes to the Shopify Admin GraphQL API. Writes are throttled to the GraphQL cost budget that matches the configured plan tier, and unchanged payloads are not sent again. ## Products With publications configured, the product is evaluated per publication against the store group and markets it covers. A product active for that scope is published to the channel, and a product that is not stays unpublished and is removed from the channel if it was there before. Without publications, Enad syncs against the default store group only. | Event | What Enad sends | |---|---| | Product created or updated | The product and all its variants. Products with variant groups sync either as one Shopify product per variant group or as a single Shopify product with all variants; when the layout changes, Enad deletes the stale Shopify products and re-creates them in the other layout. | | Product not active | Synced as a Shopify draft instead of active. | | Product deleted | Deletes the Shopify products and their mappings. When the layout splits products per variant group, every group product is deleted. | The product payload carries title, handle, description, tags, vendor (the brand), SEO fields, images and videos, linked collections and categories, the Google product taxonomy of the main category, and the metafields from the field mapper. If the Enad-to-Shopify mapping is lost, Enad re-adopts the existing Shopify product by matching variant SKUs. ## Variants | Event | What Enad sends | |---|---| | Variant updated | Price, media, weight, HS code and country of origin from custom fields, barcode, SKU, and the metafields from the variant field mapper. The base price comes from the default store group in the default currency, with the sale price written as the price and the regular amount as the compare-at price. New variants are created, existing ones updated in batches, and all market price-list prices are written right after a creation. | | Variant status changed | Ignored. Variants publish through the parent product sync. | | Variant deleted | Clears the stored mapping in Enad. The Shopify variant itself is not removed by this event. | Enad keeps Shopify product options in step with the synced option set, including linked-option values that resolve to metaobjects. A variant is skipped when it has no value for a synced option, when a linked option has no matching metaobject, or when its option combination duplicates another variant. ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group) | One price entry per market country code on the Shopify price lists for the store group: the tax-inclusive amount as the price, and when the price is on sale, the sale price as the price with the regular amount as the compare-at price. Ends by reconciling whether the variant belongs in the market catalogs. | | Single price updated (one market) | The same pipeline for that market's price. | | Price for the default store group and default currency | Also written directly onto the variant as its base price. | A missing price list for a market is created automatically. Markets without a currency, and price lists whose currency differs from the market's, are skipped. ## Stock | Event | What Enad sends | |---|---| | Stock updated | Sets the variant's available quantity at the matching Shopify location. Also toggles inventory tracking to match the variant's stock validation, and activates the item at the location when needed. | | Stock delta | Adjusts the quantity by the delta. A zero delta is ignored. | | Stock validation config | Toggles inventory tracking on the variant's inventory item. | | Inventory removed | Sets the quantity at that location to 0. | Stock changes that originated in Shopify are ignored, so the two systems do not loop. ## Images and videos Images and videos attach to the Shopify product media gallery during product sync. Images are uploaded through a staged upload and created as Shopify files with the Enad alt text; existing media is re-adopted by matching the source URL. The media list is reordered to Enad priority order, and alt-text translations are registered for the shop locales. | Event | What Enad sends | |---|---| | Image relationship created or deleted | Re-syncs the affected product, including its media. | | Image updated or deleted directly | No effect. Media syncs with the product. | | Video upsert | Uploads the video to Shopify Files through a staged upload, with the description as alt text, and polls until Shopify reports it ready. | | Video delete | Clears the mapping in Enad. The Shopify file stays and detaches on the next product sync. | Variant images attach per variant: the first allowed variant image goes on the variant, additional ones are uploaded to the product, and media that no longer belongs is detached from the variant or deleted from the product when no live Enad image backs it. The image attribute filter applies to uploads and pruning. Images carrying an excluded attribute are removed from Shopify, and when an include-list is set, only images carrying one of those attributes are kept. ## Files (PDFs) Product files never attach to the product gallery. They sync only when a metaobject mapper mapping with a file source exists, either `file` for all files or `file.` filtered by file type. | Event | What Enad sends | |---|---| | Product created or updated, file changes | Uploads each file to Shopify Files (Shopify downloads it from the Enad file URL), creates or updates a metaobject with the handle `file-` holding the title, type, URL, and file reference, and writes the metaobject references to the product or variant metafield the mapping targets. | | File deleted | Deletes the `file-` metaobjects for file-source mappings. The Shopify file itself stays. | ## Categories and collections Categories and collections sync as Shopify collections, adopting an existing collection by handle when one exists. | Event | What Enad sends | |---|---| | Category or collection upsert | Title, handle, cover image, SEO fields, translations, and a parent collection reference metafield. Category collections also store the mapped Google product taxonomy ID. | | Category or collection deleted | Removes the Shopify collection and its mapping. A category delete removes its child collections first, then its own. | | Category or collection relationship changed | Re-syncs the affected product. | ## Markets and store groups | Event | What Enad sends | |---|---| | Market upsert | Creates or updates the Shopify market, including its region conditions (the market's country codes) and base currency. | | Market delete | First removes the market catalog and price list tied to the market, then the market itself. | | Store group update | Ensures a Shopify market catalog and a matching price list for each of its markets. | | Store group market changed | Keeps the catalog and price list pair for that group-market pair in step. | | Store group delete | Clears the catalog and price-list mappings for the group. | ## Attributes | Event | What Enad sends | |---|---| | Attribute upsert | One metaobject per attribute value for each matching metaobject mapper mapping, with locale translations, and the mapped metafield values on every product that owns the attribute. | | Attribute deleted | Detaches the attribute's metaobject references from the owner products and deletes the mapped metaobjects. | | Attribute relationship created or deleted | Sets or clears the attribute's mapped metafields on the product. Variant-owned attributes sync during variant sync instead. | ## Merchant users | Event | What Enad sends | |---|---| | User created or updated | Upserts a Shopify customer, matched by the stored Shopify ID or looked up by email and phone number according to **User lookup strategy**. The payload carries email, name, phone, locale, one address, and email and SMS marketing consent from the user's communication preferences. | The Shopify customer ID is stored on the Enad user and reused. A customer already linked to a different Enad user fails permanently. ## Shop setup | Event | What Enad sends | |---|---| | App upsert | Enables each Enad app language as a Shopify shop locale and publishes the default language. These supported locales gate all translation registration. | ## Field mapping | Enad data | Shopify destination | |---|---| | Product name | Product `title` | | Slug | Product `handle` | | HTML description | `descriptionHtml` | | Status | Product `status` (`active` becomes active, everything else draft) and per-publication publishing | | Brand | Product `vendor` | | Tags | Product `tags` | | Meta title and description | Product `seo` | | Main category | Google product taxonomy on the product `category` | | Categories and collections | Shopify collection membership and the `enad/parent_collection` reference metafield | | Images and videos | Product media gallery, uploaded through staged uploads | | PDF files | Shopify Files plus a `file-` metaobject referenced from the mapped `list.metaobject_reference` metafield | | Attributes | One metaobject per value, plus the mapped metafields on owner products | | Variant number | Variant SKU | | Price and sale price | `price` and `compareAtPrice` from the default store group and default currency; other markets go to price lists | | Barcode, HS code, and country of origin custom fields | Inventory item fields | | Weight | Variant weight in grams | | Stock validation | `inventoryPolicy` and inventory tracking | | Market prices | One price list per store group and market | | Stock | Available quantity at the matching location | | Merchant users | Shopify customers with marketing consent | ## Related - [Shopify](/integrations/shopify) - [Shopify configuration](/integrations/shopify/configuration) - [Variant options](/integrations/shopify/variant-options) --- # Shopify variant options Source: https://docs.enad.io/integrations/shopify/variant-options This page explains how Enad prepares [products](/catalog/products) and their variants for Shopify, and what the outcome is for the common setups. ## Option limits Shopify allows at most three product options per product. Enad keeps the first three and logs any it skips. ## Simple products Each variant attribute becomes an option. The option name is the attribute template key with its first letter capitalized, so `color` becomes `Color`, and the option value is the attribute display value. ## Variant groups Each variant group becomes one Shopify product with a single option named by **Color option name**. Its value is the variant group name. ## Variant option sources When **Variant option sources** is set, it replaces the default behavior. Each entry pairs a Shopify option name with a source: - `variant_name` uses the variant's name as the option value. - An attribute template key, such as `size`, uses that attribute's display value. Enad calculates each variant's option values by reading the sources in the configured order: - The `variant_name` source resolves to the variant's name, and the variant's creation time becomes the value's creation time. - An attribute template source resolves to the display value of that attribute on the variant. The attribute is read from the variant first, then the variant group, then the product, so a variant's own value wins when the same template key exists on several layers. The attribute value's creation time becomes the value's creation time. A source becomes a Shopify option when at least one variant of the product or variant group has a value for it, and only the first three such sources are used. Each option's value list is built from every variant's value for that source, duplicates are removed, and the list is sorted by the configured sort order. Option names and attribute keys must be unique across the list. ## Option value order With the default `created_at_asc` order, values keep the order in which their attribute values were created. `name_asc` and `name_desc` sort values by name and also reorder existing option values in Shopify and order the variants Enad writes: - Numbers sort numerically, so `9` comes before `10`. - Sizes sort in the order `XS, S, M, L, XL, XXL`, and `EXTRA` counts as an `X`. - Remaining values sort alphabetically, case-insensitive. ## Example cases ### One variant A product with a single variant becomes a Shopify product with no options and only one variant. ### Multiple variants When the variants do not share a complete option set, Enad creates one `Title` option and each variant becomes a value in it. When two variants share a name, the variant number disambiguates them. ### A color option Give the related variants a color attribute and Enad creates the color option with the attribute values as option values. If one variant misses the color attribute while the rest have it, Enad skips that variant and logs the reason. The variant syncs once it has a color value. ### Two options, for example color and material Every variant needs both attributes. A variant with material but no color does not fill every option, so Enad skips it and syncs only the variants that do. When no variant fills every option, Enad falls back to the single `Title` option from the multiple-variant case. ## Related - [Shopify](/integrations/shopify) - [Attribute templates](/catalog/attributes) --- # Sitoo Source: https://docs.enad.io/integrations/sitoo Sitoo The Sitoo integration sends product, stock, price, and category changes from Enad to a Sitoo e-shop. ## Requirements Required connection details: - Sitoo account ID, API ID, secret, and API base URL - Sitoo e-shop ID - The Enad market and store group to connect - Sitoo warehouse IDs and the Enad inventories they represent, when stock events are enabled ## Stocks FIFO warehouses receive stock as stock-taking batches. Enad opens a batch, writes the quantities, and closes it. If an old batch is still open, it is closed before a new one starts. Virtual warehouses write the quantity directly as warehouse items. Stock updates that originated in Sitoo are ignored, so the two systems do not loop. Negative quantities are sent as 0. ## Prices The Enad store group selects the price. When a market is set, prices are first filtered to that market; if the market has no price, the first price of the store group is used. Sale prices are used when the price is on sale, and the reference price is sent as the original price. Prices are tax-inclusive, and zero or negative amounts are not sent. The market filter applies to price events only. Product, stock, and category events follow the store group mapping. ## Related - [Products](/integrations/events/products) - [Stocks](/integrations/events/stocks) - [Prices](/integrations/events/prices) - [Categories](/integrations/events/categories) --- # Sitoo configuration Source: https://docs.enad.io/integrations/sitoo/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes the Sitoo connection details, the Enad market, store group, and warehouse mapping. - **Enabled events** selects which event groups sync: products, stocks, prices, and categories. All four are enabled by default. - **Rate limit** limits requests sent to Sitoo. Defaults to 5 requests per interval, and requests are sent one at a time. - **Only update existing products** prevents creation of products that do not already exist in Sitoo. - **Barcode custom field** reads an Enad custom field key and sends its value as the Sitoo barcode. - **Stock comment** labels the stock-taking batches Enad opens in Sitoo. Defaults to "Stock sync from Enad". - Each Sitoo warehouse maps to an Enad inventory with either a **FIFO** or **virtual** inventory type. Products that already exist in Sitoo are matched by SKU when the stored mapping is missing, so links recover themselves. Product numbers and SKUs are sanitized to letters, digits, and `_ + - /` before they are sent. ## Related - [Sitoo](/integrations/sitoo) --- # Sitoo events Source: https://docs.enad.io/integrations/sitoo/events The integration pushes product, variant, price, category, stock, and image changes from Enad to Sitoo. Which groups are active is controlled by **Enabled events** in the configuration. ## Products and variants | Event | What Enad sends | |---|---| | Product created or updated | Creates or updates the product in Sitoo with product number, title, descriptions, barcode, default category, and categories. Products are matched through a stored ID mapping, and a lost mapping is recovered by looking the SKU up in Sitoo. | | Product with a single variant | Syncs as a plain product with no options. | | Product with multiple variants | Sends the Sitoo product's variants, one per Enad variant. | | Product or variant unchanged | Not sent again. With **Only update products if exists** on, Enad never creates products that Sitoo does not know. | | Product or variant deleted | Removes the product or its variants from Sitoo. | | Status or category relationship changed | Re-runs the product update. | ## Prices | Event | What Enad sends | |---|---| | Prices updated (store group) | Prices per variant and store group, tax-inclusive. The store group selects the price; when a market is set, prices are first filtered to that market, and if the market has no price, the first price of the store group is used. | | Single price updated (one market) | The same selection for that market's price. | Sale prices are used when the price is on sale, and the reference price is sent as the original price. Zero or negative amounts are not sent. The market filter applies to price events only; product, stock, and category events follow the store group mapping. Unchanged prices are not sent again. ## Stock Stock updates apply only to inventories mapped to Sitoo warehouses in the configuration, and only when stock events are enabled. | Event | What Enad sends | |---|---| | Stock updated | The quantity for the variant, formatted as a decimal. Negative quantities are sent as 0. | | Stock delta | The updated quantity after the delta. | | Inventory deleted | Sets the stock to 0. | FIFO warehouses receive stock as stock-taking batches: Enad opens a batch, writes the quantities, and closes it. If an old batch is still open, it is closed before a new one starts. Virtual warehouses write the quantity directly as warehouse items. Changes that originated in Sitoo are ignored so the two systems do not loop, and stock writes are always sent, without deduplication. ## Categories | Event | What Enad sends | |---|---| | Category created, updated, or deleted | Pushes the category change to Sitoo. | | Category relationship created or deleted | Re-syncs the affected product, so product categories stay in step with Enad. | ## Images | Event | What Enad sends | |---|---| | Product created or updated | Uploads the product's images to Sitoo as base64 data, one resource per image, keyed by the image URL's file name. Images Sitoo already has are skipped. | | Image relationship created | Uploads that single image to the product. | | Image relationship deleted | Deletes the image by its resource ID. | | Image removed from Enad | Deletes the product's Sitoo images that no longer exist in Enad, so the image set in Sitoo matches Enad. | Per-image failures are logged and skipped without failing the whole sync. ## Field mapping | Enad data | Sitoo destination | |---|---| | Product ID | Sitoo `productid`, kept in a stored mapping and recovered by SKU lookup when lost | | Product and variant numbers | `sku`, with characters outside `A-Za-z0-9_+-/` replaced by `_` | | Product name | `title` | | Descriptions | `description` and `descriptionshort` | | Barcode custom field | `barcode`, omitted when the field is empty | | Categories | `defaultcategoryid` and `categories` | | Price | `moneyprice` (sale price when on sale) and `moneypriceorg` (reference price), tax-inclusive | | Variants | Product variants with title, SKU, attributes, and active flag | | Stock | Quantities as decimals, negative clamped to 0 | | Images | Base64 `filedata` with a `resourceid` from the image URL's file name | ## Related - [Sitoo](/integrations/sitoo) - [Sitoo configuration](/integrations/sitoo/configuration) --- # Storyblok Source: https://docs.enad.io/integrations/storyblok Storyblok The Storyblok integration mirrors Enad [products](/catalog/products), [categories](/catalog/categories), [collections](/catalog/collections), [brands](/catalog/brands), and [series](/catalog/series) into a Storyblok space as stories over the Storyblok Management API. Prices, stock, attributes, images, and videos are not sent, and Storyblok is never read back into Enad. ## Requirements Configuration requires a Storyblok **Space ID**, a Storyblok **Management API token** scoped to the space, and a **Region**. The Management API token is a secret, so the field accepts the value once and displays it masked afterwards. ## Synced data - **Products** send only name, slug, and translated slugs. No body content, images, prices, or attributes are included. - **Categories and collections** send name, slug, translated slugs, and parent structure. - **Brands** send name, slug, logo URL, and cover URL. - **Series** send name, slug, and the brand parent. Every story and folder carries `enad_id` in its content, which is how the integration matches existing Storyblok items. Removing the field in Storyblok causes duplicates on the next sync. :::warning Products with **draft** status are skipped on create. Collections in draft fail on create. A story publishes when the Enad status is active and unpublishes otherwise; brands and series are always published. ::: ## Related - [Storyblok](https://www.storyblok.com/docs) - [Products](/catalog/products) - [Categories](/catalog/categories) - [Collections](/catalog/collections) - [Brands](/catalog/brands) - [Series](/catalog/series) --- # Storyblok configuration Source: https://docs.enad.io/integrations/storyblok/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup). | Field | Description | | --- | --- | | **Region** | `eu`, `usa`, `canada`, `australia`, or `china` (case-sensitive). Each maps to its own API host, so the value must match where the space lives. A full Storyblok API URL can be entered instead. | | **Space ID** | Identifier of the space receiving content. | | **Management API token** | Token sent as the Authorization header on every request. | | **Root folder** | One folder per entity type: products, categories, collections, brands, and series. Content is created inside its matching folder, so each folder ID must exist before use. | | **Rate limit** | Requests per second to Storyblok. | | **Sync scope** | Events Enad reacts to: products, collections, categories, brands, and series. | | **Include translated slugs** | Sends translated slugs for every story write. | | **Flatten tree** | Ignores the Enad category hierarchy. Every category and collection is created directly under the root folder and uses the Enad ID as the slug. | | **Brands as folders** | Creates brands as a folder plus a startpage story. Otherwise a brand is a single story. | | **Series as folders** | Creates series as a folder plus a startpage story. Otherwise a series is a single story. | ### Stories, folders, and startpages A category or collection with children is stored as a Storyblok **folder with a startpage story** inside it. The startpage holds the content. A category or collection without children is stored as a plain story. When Enad moves content under a parent that is currently a plain story, the integration converts that parent into a folder: it creates the folder, moves the old story into it as its startpage, and gives the story a temporary slug. Startpage slugs are never rewritten afterwards, so links to them keep working; only the folder's slug is updated on later renames. Deleting a startpage deletes the parent folder instead. The configured root folder for a type is never deleted. :::note Series always live under their parent brand story, so the series root folder is unused. A series story takes its slug and name from the brand: `brand-slug_series-slug` and `Brand Name Series Name`. ::: ## Related - [Storyblok](/integrations/storyblok) --- # Storyblok events Source: https://docs.enad.io/integrations/storyblok/events The integration mirrors Enad products, categories, collections, brands, and series into Storyblok stories. Each event group can be turned on or off in the integration settings, and every story and folder carries `enad_id`, which is how existing items are matched. ## Products | Event | What Enad sends | |---|---| | Product created | A story with the product slug and name, plus translated slugs. Products with the `draft` status are not created. | | Product updated | Updates name, slug, and translated slugs of the existing story, or creates it when none exists. | | Product status changed | The story publishes when the Enad status is `active` and unpublishes otherwise. | | Product deleted | Deletes the story. A story that is already gone counts as deleted. | No body content, images, prices, or attributes are included. ## Categories and collections | Event | What Enad sends | |---|---| | Category or collection created | A story or folder following the folder and startpage model described on the configuration page, with name, slug, translated slugs, and parent structure. A category that exists as neither story nor folder is created. Categories in draft fail on create. | | Category or collection updated | Updates the existing story or folder. | | Category or collection deleted | Deletes the story or folder. | ## Brands and series | Event | What Enad sends | |---|---| | Brand upsert | A story with name, slug, logo URL, and cover URL. | | Serie upsert | A story with name, slug, and the brand parent. | | Brand or serie deleted | Deletes the story. | Brands and series are always published. ## Field mapping | Enad data | Storyblok destination | |---|---| | Product ID | `enad_id` content field | | Product name | Story name | | Slug | Story slug, translated slugs per language | | Product relations | Product stories with translated names, nested under the parent | | Brand logo | Brand story content field | | Brand cover | Brand story content field | | Folder structure | `Products` folder at the root, with `Brands` and `Product` folders inside | ## Related - [Storyblok](/integrations/storyblok) - [Storyblok configuration](/integrations/storyblok/configuration) --- # Voyado Source: https://docs.enad.io/integrations/voyado Voyado The Voyado integration connects an Enad app to the Voyado API and syncs merchant users, account automations, and optional back-in-stock signals. Voyado catalog sync is a separate integration type. ## Requirements Configuration requires the Voyado API base URL and API key. ## Contact mapping Enad writes standard Voyado contact fields (email, names, phone, language, preferences, and address) and stores the result in these Voyado custom fields, which must exist in the Voyado tenant: - `enadStoreGroup`, `enadMarket`, and `enadVerified` - `memberTerms` - `attr_` for each of the user's attributes Phone numbers are only sent when they are valid for the user's address country. When Enad finds an existing contact by identifier, missing fields on the Enad side keep the values already stored in Voyado. ## Deletes and matching By default, deleting a merchant user anonymizes the Voyado contact: it clears names, phone, social security number, address, and all communication preferences, then fires the `accountDeleted` automation. With **Hard delete user** on, the contact is removed instead. A Voyado profile that is already linked to a different Enad user fails with a permanent error. When an identifier matches several contacts, the first one is used and the choice is logged. ## Automations Enad triggers these Voyado custom events, so automations can be built on them: - `resetPassword` with the password reset link - `verifyEmail` with the verification token - `accountConfirmed` and `accountConfirmedThirdParty` after email verification - `accountDeleted` - `userActivated` and `userInactivated` Back-in-stock signals are sent only when **Sync back in stock** is on, and only when the variant's stock goes from zero or below to a positive quantity. ## Related - [Merchant users](/merchant-users/merchant-users) - [Users](/integrations/events/users) --- # Voyado configuration Source: https://docs.enad.io/integrations/voyado/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup) and includes the base URL and API key. - **User lookup strategy** controls whether Enad matches [merchant users](/merchant-users/merchant-users) by email, phone number, both, or social security number. The default is email and phone number. The selected identifiers should be reliable in both systems. - **Store ID** is sent as the Voyado store external ID when a new contact is created. - **Market** skips merchant users that do not belong to the selected Enad market. - **Merchant user store groups** limits which store groups' merchant users are synced. - **Hard delete user** removes the Voyado contact on user delete instead of anonymizing it. - **Sync back in stock** sends a stock-level signal when a variant goes from out of stock to in stock. ## Related - [Voyado](/integrations/voyado) --- # Voyado events Source: https://docs.enad.io/integrations/voyado/events The integration handles merchant user events, account automations, and optional back-in-stock signals. All Voyado contacts live under the configured API base URL and carry the custom fields described on the main page. When a store group list or market is configured, user events outside that scope are ignored. ## Merchant users | Event | What Enad sends | |---|---| | User created | A Voyado contact create with email, names, language, phone, social security number, verified flag, communication preferences, address, and member terms, plus the custom fields and attributes documented on the main page. | | User updated | A patch of the existing contact. Fields missing on the Enad side keep the values already stored in Voyado. | | User deleted | With **Hard delete user** on, or for non-soft deletes, the contact is deleted. Otherwise it is anonymized: names, phone, social security number, address, and all communication preferences are cleared, the verified flag set to false, and the `accountDeleted` automation fired. | Enad finds the contact first. It looks up an existing Voyado contact by email, phone number, or social security number, according to **User lookup strategy**, and the returned Voyado contact ID is stored on the Enad user and reused. A contact already linked to a different Enad user fails with a permanent error. When an identifier matches several contacts, the first one is used and the choice is logged. ## Automations Each automation resolves the contact, by stored Voyado ID, then by email, and as a last resort creates it, and triggers a custom event. These are Voyado custom triggers by exact name, so automations in Voyado fire on these IDs: | Event | Voyado trigger | |---|---| | Password reset | `resetPassword` with the password reset link | | Email verification sent | `verifyEmail` with the verification token, fired both on sign-up and when a new verification email is requested | | Email verified | `accountConfirmed` after verification, or `accountConfirmedThirdParty` for third-party sign-ups. Fires once; later verifications are skipped. | | User deleted | `accountDeleted`, after the contact is anonymized | | User activated | `userActivated` | | User inactivated | `userInactivated` | | Any other status | Nothing | ## Back in stock | Event | What Enad sends | |---|---| | Stock change from zero or below to a positive quantity | A stock-level signal for the variant, with SKU and external ID. Requires **Sync back in stock**. | | Any other stock change | Ignored, in both directions. | ## Field mapping | Enad data | Voyado destination | |---|---| | Email, phone, language, names | Standard contact fields | | Store group | `enadStoreGroup` custom field | | Market | `enadMarket` custom field | | Verified status | `enadVerified` custom field | | Member terms acceptance | `memberTerms` custom field | | Attributes | `attr_` custom fields | | Street address | `street` | | Postal code | `zipCode` | | City | `city` | | Country | `country` | | Consent toggles | `acceptsEmail`, `acceptsPostal`, `acceptsSms` | ## Related - [Voyado](/integrations/voyado) - [Voyado configuration](/integrations/voyado/configuration) --- # Webhooks Source: https://docs.enad.io/integrations/webhooks The Webhooks integration sends each event as a JSON HTTP POST to a custom endpoint you configure. The platform does not interpret or process the response. :::note This page covers outgoing events configured under **System → Integrations**. The separate **System → Webhooks** page is used for incoming provider webhooks, documented on the [Incoming webhooks](/integrations/webhooks/incoming) page. ::: Use cases include: - Keeping an external search index in sync with catalog changes - Triggering internal workflows when users, brands, or collections change - Forwarding events into a message queue or event pipeline - Building internal dashboards based on real-time data ## Event envelope Each delivery is a single HTTP POST with `Content-Type: application/json`: ```json { "event_type": "product.updated", "payload": { ... } } ``` Authentication uses the configured header. Two headers are added by the platform: `User-Agent: Enad Webhooks` and `X-Correlation-ID`, a unique identifier for the delivery that can be used for tracing and logging on your side. A delivery is considered successful when the endpoint responds with any 2xx status. Other responses are retried. The request timeout is 10 seconds, so the endpoint should acknowledge quickly and process asynchronously. ## Event types Events are grouped by entity. Each group has its own reference page listing the exact event types and payload structure: - [Products](/integrations/events/products) - [Variants](/integrations/events/variants) - [Prices](/integrations/events/prices) - [Redirects](/integrations/events/redirects) - [Stocks](/integrations/events/stocks) - [Categories](/integrations/events/categories) - [Collections](/integrations/events/collections) - [Tags](/integrations/events/tags) - [Markets](/integrations/events/markets) - [Store groups](/integrations/events/store-groups) - [Attributes](/integrations/events/attributes) - [Users](/integrations/events/users) - [Organisations](/integrations/events/organisations) - [Brands](/integrations/events/brands) - [Series](/integrations/events/series) ## Delivery Events are queued as they happen and delivered by a background worker. Deliveries may arrive out of order, and the endpoint should not assume sequencing. Failed deliveries are retried up to 8 times, waiting between attempts: 10 s, 20 s, 30 s, 1 m, 5 m, 10 m, 30 m, 1 h. If all attempts fail, the event is marked failed and appears under **Status → Integration validation**. Private and loopback IP addresses are rejected as endpoints. Unchanged payloads are not sent again. Before a delivery is enqueued, the payload is compared with the last delivery for the same entity. Deleted entities and stock events are always delivered. Completed deliveries are kept for 7 days. ## Related - [Store groups and markets](/catalog/store-groups-and-markets) - [Storefront revalidate](/integrations/storefront-revalidate) --- # Webhooks configuration Source: https://docs.enad.io/integrations/webhooks/configuration Configuration follows the [common integration setup](/integrations/integrations#integration-setup). | Field | Description | | --- | --- | | **Endpoint** | Target URL receiving each event. | | **Auth header key** | Name of the authentication header sent with every event. | | **Auth header value** | Value of the authentication header. The field is stored as a secret. | | **Enabled events** | Event groups to receive. At least one is required. | | **Delay** | Optional delay, in seconds, before each event is delivered. | | **Store group IDs** | Optional list restricting deliveries to the given [store groups](/catalog/store-groups-and-markets). When empty, events for all store groups are delivered. | ## Related - [Webhooks](/integrations/webhooks) --- # Incoming webhooks Source: https://docs.enad.io/integrations/webhooks/incoming Incoming webhooks let external providers send events into Enad. You register a webhook under **System → Webhooks** in Enad Admin, point the provider at the generated URL, and each incoming event is validated, mapped, and published into the platform's event pipeline, where it updates orders, stock, and merchant users like any other integration. :::note This page covers incoming provider webhooks configured under **System → Webhooks**. Events Enad sends out to your own endpoints are documented on the [Webhooks](/integrations/webhooks) page. ::: ## Create a webhook 1. Select **Create webhook** and choose the provider type. The available types are Brink and Voyado. 2. Configure the secret. For Brink, Enad generates a secret for you. For Voyado, enter the secret the provider uses to sign its requests. 3. Save. A dialog shows the webhook type, URL, and — where applicable — the secret and encryption key. The secret is shown only once, so copy it before closing. ## Webhook URL Each webhook gets a unique URL of the form: ``` https:////v1/ ``` The URL is shown when the webhook is created and on the webhook's detail view. Configure it as the webhook destination in the provider's own admin. ## Providers ### Brink Enad generates the secret when the webhook is created. The provider sends it as a bearer token, and Enad rejects requests without a matching `Authorization: Bearer ` header. Events carry a `detail-type` field. Stock and order events are mapped and published into the platform; any other detail-type is acknowledged with `200 OK` and ignored. | Detail-type | What Enad does | | --- | --- | | `ProductVariantBackInStock` | Updates the variant's stock with the new quantity. | | `ProductVariantOutOfStock` | Sets the variant's stock to zero. | | `OrderCreated` | Publishes the order to the platform. | | `OrderUpdated` | Publishes the updated order. | | `OrderRefunded` | Publishes the order refund. | | `OrderCompensated` | Publishes the order compensation. | | `OrderReleased` | Publishes the order release. | | `OrderDelivered` | Publishes the order delivery. | | `OrderCancelled` | Publishes the order cancellation. | | `OrderLinesModified` | Publishes the modified order lines. | | `OrderDeleted` | Publishes the order deletion. | The `Failed` variants of the refund, compensation, release, and delivery events are published the same way. Successful requests receive an `OK` response. ### Voyado The secret is provided when the webhook is created. Enad verifies each request against the standard Svix webhook signature headers using that secret, so unsigned or tampered requests are rejected with `401 Unauthorized`. The webhook also supports encrypted payloads. When **Encrypted** is on, provide the encryption key the provider encrypts payloads with; events marked encrypted are decrypted before they are processed. | Event | What Enad does | | --- | --- | | `contact.acceptsEmail.changed` | Updates the merchant user's email preference. | | `contact.acceptsSms.changed` | Updates the merchant user's SMS preference. | | `contact.acceptsPostal.changed` | Updates the merchant user's postal mail preference. | | `contact.deleted` | Marks the merchant user deleted with the deletion reason. | An unknown event type is rejected with `400 Bad Request`, so the provider should only send the events listed above. ### Shopify Incoming Shopify events such as orders, refunds, and fulfillments are handled as part of the [Shopify integration](/integrations/shopify) and do not need a webhook registered on this page. ## Managing webhooks The webhook list shows each webhook's type, URL, version, encryption state, and status. Select a webhook to view its details and copy its URL. Deleting a webhook stops event delivery for that URL immediately. Remove the endpoint in the provider as well, since its events will start failing there. ## Related - [Webhooks](/integrations/webhooks) - [Brink Commerce](/integrations/brink-commerce) - [Voyado](/integrations/voyado) - [Shopify](/integrations/shopify) - [Merchant users](/merchant-users/merchant-users) --- # Overview Source: https://docs.enad.io/management Server-to-server APIs for managing the ENAD platform: the full catalog, stores, markets, teams, and digital assets. Authentication is per team and app, with tokens generated in Enad Admin at [app.enad.io](https://app.enad.io). **[Catalog](/management/catalog)** Attributes, store groups, markets, and product status — how catalog data is modeled before you call the API. **[Management API](/management/management-api)** Manage products, variants, attributes, collections, channels, markets, and more at `https://api.enad.io`. Bearer-token authorization, request bodies up to 30 MB. **[Digital Assets Management API](/management/dam)** Folders, media, and shareable links at `https://dam.enad.io`. No authorization required. --- # Catalog Source: https://docs.enad.io/management/catalog Catalog documentation for the [Management API](/management/management-api): entity guides for object types you manage through the API, plus cross-cutting concepts that apply across the catalog. Endpoint details live in the [API reference](/management/management-api/reference). ## Entities Entity guides describe one catalog object type: what it is, how it relates to other data, and how to work with it in Admin or over the API. **[Attributes](/management/catalog/attributes)** Attribute templates, fields, values, linking, and how attributes attach to products and other resources. ## Concepts These pages explain ideas that span many entity types — surfaces, status, and publishing — without replacing the API reference. **[Store groups and markets](/management/catalog/store-groups-and-markets)** How store groups and markets define where products are sold and how pricing and availability are scoped. **[Product and market status](/management/catalog/product-status)** Product lifecycle status and per-market visibility for search, merchandising, and integrations. --- # Attributes Source: https://docs.enad.io/management/catalog/attributes Attributes let you describe your catalog with structured, reusable values such as **Color**, **Size**, **Material**, or **Season**. Instead of typing free text on every product, you define a value once and attach it wherever it's needed. This keeps your data consistent and makes attributes usable for filtering, translations, and storefront display. ## The core idea There are two building blocks. Understanding the difference between them is the key to using attributes well. **Attribute template** A reusable **group** of related options, plus the rules for how those options are described. Think **Color**, **Size**, or **Material**. **Attribute** A single **option** inside a template. Think **Red**, **XL**, or **Cotton**. This is what you actually attach to a product. A simple way to remember it: > The **template** is the question ("What color is it?"). The **attribute** is the answer ("Red"). ### Example ```text Template: Color ├─ Attribute: Sand Beige ├─ Attribute: Forest Green └─ Attribute: Black Template: Size ├─ Attribute: S ├─ Attribute: M └─ Attribute: L ``` A product such as a _Wool Sweater_ might then carry the attributes `Color / Forest Green` and `Size / M`. Main dashboard interface Main dashboard interface ## Anatomy of a template When you create a template, you configure a few settings that apply to every attribute inside it. | Setting | What it does | | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | **Name** | The human-readable label, e.g. `Color`. | | **Key** | A unique, machine-friendly identifier, auto-generated from the name (e.g. `color`). Used by the API and integrations. | | **Resources** | Which entity types can use this template. Pick one or more from the [supported resources](#supported-resources) list. | | **Filterable** | Makes the attribute values available as filters on the storefront. | | **Translatable** | Allows each attribute's values to be translated into your other languages. | | **Fields** | Extra pieces of data captured for each option (see [Fields](#fields-extra-data-on-each-option)). | :::note The **key** must be unique and is hard to change later because integrations rely on it. Pick a clear name up front and let the key follow from it. ::: ## Fields: extra data on each option By default, every attribute already has a **name**, **key**, and **description**. Fields let you attach _additional_ structured data to each option in a template. The classic example is the **Color** template: the option is named `Forest Green`, but you also want to store the exact hex color (shown as a swatch) and perhaps a real image of the material. You'd add a `color` field and an `image` field to the template, and then fill them in for each option. Available field types: | Field type | Use it for | | ----------- | --------------------------------------------------------- | | **Text** | Short free-text values, codes, or labels. | | **Number** | Numeric values such as weight, capacity, or thread count. | | **Boolean** | Yes/no flags such as "Waterproof". | | **Color** | A color value (hex), rendered as a swatch. | | **Image** | An actual image picked from your app's assets. | :::info The field keys `key`, `name`, and `description` are reserved, because every attribute already has those. You can't reuse them as custom field keys. ::: Attribute closeup Attribute closeup ## Supported resources When you create or edit a template, the **Resources** field is where you choose which entity types can use its attributes. In the dashboard this appears as a multi-select on the template form; each option is one of the resource types below. Attributes aren't limited to products. The same template model works across every supported resource: - **Product** - **Product variant** - **Tag** - **Asset** (image, video, and file) - **Category** - **Organisation** - **Merchant user** - **Product bundle** A template is defined once at the application level and made available only on the resources you select. For example, a `Color` template might apply to products and variants, while a `Department` template applies only to merchant users. ## Linked attributes You can **link** an attribute to another attribute in a different template. Attaching one then brings the other along: reading a product or variant includes the attributes attached directly and the attributes linked to those. Unlinking stops that. It leaves the attributes themselves in their templates, and it does not remove an attribute you attached directly. Two common uses: - Map a specific value to a broader one shoppers should filter on. Link `Color / Navy` to `Base color / Blue`, or `Material / Merino Wool` to `Material / Wool`. A storefront can then filter on `Blue` or `Wool` without listing every shade or fabric. - Carry a related value along. Link `Color / Forest Green` to `Theme / Earth Tones`, and products with that color also get the theme. Filtering does not require the base attribute on the product. The product search index includes attributes linked to the ones that are attached. A product with `Navy` attached, and `Navy` linked to `Blue`, matches an `attributeKeys` filter on `Blue`. `Blue` also shows up in attribute facets, with that product counted. ```text Product → attribute: Color / Navy (attached) Navy → Blue (Navy is the specific value, Blue is the base value) Filter on base color Blue matches the product ``` ### Which value goes where Each link names two attributes: - **`attribute_id`** is the product-specific value, the one attached to the product. Example: color `Navy`. - **`linked_attribute_id`** is the value you are linking to, the one you want to filter on. Example: base color `Blue`. If product search should filter on base color `Blue`, then `Navy` is the `attribute_id` and `Blue` is the `linked_attribute_id`. ```json { "links": [ { "attribute_id": "c0a80101-0000-0000-0000-000000000001", "linked_attribute_id": "c0a80101-0000-0000-0000-000000000002" } ] } ``` Links are sent with `PUT` and removed with `DELETE` on `/attribute-templates/{template_id}/links`, up to 20 links per request. :::note Links are stored both ways. The API records a two-way link and normalizes the direction, so the same link comes back from `Navy` or from `Blue`, and deleting either ordering removes it. Direction does not change what the storefront matches. Keep `attribute_id` as the specific value and `linked_attribute_id` as the base value so imports and the dashboard agree on which value is the canonical one. ::: ## Typical workflow 1. **Create a template** Go to **Products → Attributes** and create a new attribute template. Give it a name (e.g. `Color`), choose which [resources](#supported-resources) it applies to, and decide whether it should be filterable and/or translatable. Create attribute template Create attribute template 2. **Add fields (optional)** If each option needs extra data, like a hex color or an image from your assets, add the relevant fields to the template. {/* Create attribute template */} {/* Create attribute template */} 3. **Add the options** Inside the template, create the individual attributes (the options), e.g. `Red`, `Blue`, `Black`. Bulk creation of attributes is available. Create attribute template Create attribute template 4. **Attach it where you need it** Open any [supported resource](#supported-resources) the template applies to (for example a product, variant, category, tag, or asset), find the template, and select one or more of its options to attach. {/* IMAGE: Screenshot of an entity's Attributes view with the "Add attribute" dialog open, showing a template expanded and options selectable. */} ### Attaching and detaching is flexible Attaching an attribute to an entity simply creates a **link** between them; it doesn't move or copy the underlying data. This has a few useful consequences: - **Attach freely, in any combination.** The same attribute (e.g. `Color / Forest Green`) can be linked to as many entities as you like, across every resource type the template supports. Each entity can carry as many attributes as it needs. - **Detaching never deletes data.** Removing an attribute from an entity only breaks that one link. The attribute, its fields, and its values stay safe in the template and remain attached to every other entity that uses it. - **Edit once, update everywhere.** Because entities point at the same attribute, editing the attribute (for example fixing a hex value or a translation) updates it for every entity it's linked to. - **The template is the source of truth.** Your attributes and their data always live in the template. Entities just reference them, so you can reorganize what's attached where without ever losing the values themselves. ## Best practices - **Reuse templates instead of creating duplicates.** One `Color` template with many options is far easier to maintain than separate color fields per product. - **Use clear, stable names.** The key is derived from the name and is relied on by integrations, so name things well from the start. - **Mark something filterable only if shoppers should filter by it.** Internal-only data doesn't need to be filterable. - **Enable translatable early** if you sell in multiple languages, since it's easier than backfilling translations later. - **Keep fields minimal.** Add fields only when an option genuinely needs extra structured data (like a hex color or an image); otherwise the name and description are enough. - **Link specific values to base values.** Point `attribute_id` at the value on the product and `linked_attribute_id` at the value shoppers filter on, and mark the base template filterable. - **Create links when you import.** Add them in the same step as the attributes, so the storefront can filter on base values as soon as the products are in. ## Working with the API Endpoint details for attribute templates, fields, values, and linking are in the [Management API reference](/management/management-api/reference). --- # Product and market status Source: https://docs.enad.io/management/catalog/product-status A product in Enad has two status layers. They work together, but they are not the same thing. **Product status** The **global lifecycle**. In general, `draft` and `incomplete` keep the product hidden on every surface, even if market status is `active`. **Market status** Availability for **one store group + market** (one surface). When the product is otherwise publishable, this can still turn that surface off. The same product can be live in B2B Sweden and off in B2C Finland. Each [store group + market](/management/catalog/store-groups-and-markets) pair has its own market status. For the shared contract, a product is public in [product search / GraphQL](/storefront/graphql) when it is **publishable globally** and **market status for that surface is `active`**. In general, the same combination also controls **merchandising** (search and recommendations). Integration-specific behavior may differ. See [Nosto](#nosto) for the mapping we document today. ## What each status means | Status | Meaning | | --- | --- | | `active` | Publishable. | | `inactive` | Turned off. On a market, this typically makes an otherwise publishable product unavailable on that surface. | | `draft` | Upcoming, not ready to publish. On the product, this typically keeps it hidden. | | `incomplete` | Missing required data. On the product, this typically keeps it hidden. | | `archived` | Ended. Used as a **product** lifecycle status. Treat `archived` on a market as something to confirm; market and channel status is typically `active`, `inactive`, or `incomplete`. | The explorer lists the statuses you can see on a product in Enad, including `archived` on the market axis. ## Try a combination Pick a product status and a market status to see the intended outcome for **one** surface. ## Variant status Variants have their own status as well. In general they follow the same logic as the product: a global lifecycle, plus availability per store group + market where that is supported. Once product status and market status are clear, variant status can typically be read the same way. Integration-specific behavior may differ. ## Storefront presentation Enad exposes the status. The storefront decides how that status is presented. This is most relevant for `archived`. The shared contract above covers whether the product is public in product search / GraphQL and merchandising. The storefront can still choose the visitor experience, for example: - a 404 - an old-link or "no longer available" page - hiding the product from listings while keeping a direct URL Product search / GraphQL and merchandising integrations do not have to match that storefront experience. ## Merchandising integrations The explorer shows the shared publication idea. Some integrations add their own states on top. This list will grow as more merchandising tools are connected. ### Nosto Nosto keeps its own catalog status per surface. For the shared contract, this is the mapping that is robust enough to publish: | Combination | What Nosto typically gets | | --- | --- | | Product `active` + market `active` | Synced and **searchable** | | Product `active` + market `inactive` | **Discontinued** / not searchable | | Product `draft` or `incomplete` | Not public, and typically **not synced** as active content | `discontinued` is integration-specific to Nosto: when the product stays `active` and the **market** is `inactive`, Nosto typically keeps the product but drops it out of search. Other combinations (including product `inactive`, product `archived`, and market `archived`) should be confirmed per implementation. Do not assume every non-`active` product status means "not synced", or that `archived` always maps like `inactive`. --- # Store groups and markets Source: https://docs.enad.io/management/catalog/store-groups-and-markets Products in Enad are not published to "the shop" as a single place. They are published to **surfaces**. A surface is one **store group** plus one **market**. That is why a product can be live in B2B Sweden and off in B2C Finland at the same time. Pricing, availability, and [product and market status](/management/catalog/product-status) are all scoped to that pair. **Store group** The **sales channel**. Typically B2B, B2C, or a similar store type, plus the markets that belong to it. **Market** The **locale**. A name, countries, language, and currency that a store group can sell into. A simple way to remember it: > The **store group** is who the catalog is for. The **market** is where it is sold. ## Store groups A store group groups pricing and availability across one or more markets. Typical examples are a B2B channel and a B2C channel, each with its own set of markets. When a store group is created it has: | Field | What it is | | --- | --- | | Name and slug | The label in Enad, and a stable identifier for the API | | Store type | One of `b2c`, `b2b`, `d2c`, or `d2b` | | Country of sale | Primary country, as an ISO 3166-1 alpha-2 code such as `SE` or `FI` | | Markets | Optional list of market slugs to attach | | Description | Optional note | See [Create a store group](/management/management-api/reference/store-groups/post-api-v1-team-slug-app-slug-store-groups) in the Management API. ## Markets A market is a selling locale: which countries it covers, which language it uses, and which currency prices are in. The same market can typically be attached to more than one store group. When a market is created it has: | Field | What it is | | --- | --- | | Name and slug | The label in Enad, and a stable identifier for the API | | Country codes | One or more ISO country codes, for example `SE` | | Locale | Language and region, for example `sv-SE` | | Currency code | ISO currency, for example `SEK` | | Active | Whether the market itself is on | A market being `active` is not the same as a product's **market status** on that surface. Market status is set on the product (or variant). See [Product and market status](/management/catalog/product-status). See [Create a new market](/management/management-api/reference/markets/post-api-v1-team-slug-app-slug-markets) in the Management API. ## How they fit together ```text Store group: B2B ├─ Market: Sweden ├─ Market: Denmark └─ Market: Norway Store group: B2C ├─ Market: Finland └─ Market: United States ``` Each line is one surface. Product status is global. Market status, prices, and availability are typically per surface. --- # Digital Assets Management API Source: https://docs.enad.io/management/dam The Digital Assets Management API organizes and serves the media behind your storefront at `https://dam.enad.io`: folder trees, images, videos, and files with metadata, attributes, and translations, plus media search and shareable links. **[API reference](/management/dam/reference)** Folders, media, and shareable links, generated from the OpenAPI spec. Browse endpoints **[Media CDN](/storefront/media)** Deliver and transform images and video for any market, store group, or locale. Serve and transform ## When to use it Use it on the read path of a storefront or integration: - **Listing folder structures** and public folders. - **Searching media** with attribute and facet filters. - **Resolving media items** for display, including content served behind shareable links. Uploading and managing assets happens in Enad Admin and through platform services. The public API at `dam.enad.io` is read-only, so don't build import pipelines against it — assets change through the [Management API](/management/management-api) and Enad Admin. ## Authentication Routes are scoped to an app by the `app_id` path parameter. Shareable-link routes are public: they are addressed by an opaque token in the path and need no authentication. --- # Digital Assets Management Source: https://docs.enad.io/management/dam/reference Digital asset management for ENAD: folder trees, media (images, videos, files) with metadata, attributes and translations, media search, and shareable links, at `https://dam.enad.io`. ## When to use it Use it on the read path of a storefront or integration: listing folder structures, searching media with attribute filters, resolving media items for display, and serving content behind shareable links. Uploading and managing assets happens in Enad Admin and through platform services — the public API at `dam.enad.io` is read-only, so don't build import pipelines against it. ## Authentication Routes are scoped to an app by the `app_id` path parameter. Shareable-link routes are public: they are addressed by an opaque token in the path and need no authentication. Version 1.0 Base URL: `//dam.enad.io` ## Folders - [`GET /api/v1/{app_id}/folders/{id}`](/management/dam/reference/folders/get-api-v1-app-id-folders-id) — Get folder by id. - [`GET /api/v1/{app_id}/folders/{id}/contents`](/management/dam/reference/folders/get-api-v1-app-id-folders-id-contents) — Get Folder Contents. - [`GET /api/v1/{app_id}/folders/{id}/facets`](/management/dam/reference/folders/get-api-v1-app-id-folders-id-facets) — Get Folder Facets. - [`GET /api/v1/{app_id}/folders/{id}/tree`](/management/dam/reference/folders/get-api-v1-app-id-folders-id-tree) — Get Folder Tree from Path. - [`GET /api/v1/{app_id}/folders/public`](/management/dam/reference/folders/get-api-v1-app-id-folders-public) — Get Public Folders. - [`GET /api/v1/{app_id}/folders/tree`](/management/dam/reference/folders/get-api-v1-app-id-folders-tree) — Get Full Folder Tree. ## Media - [`GET /api/v1/{app_id}/folders/{folder_id}/media/{media_id}`](/management/dam/reference/media/get-api-v1-app-id-folders-folder-id-media-media-id) — Get Media Item by ID. - [`GET /api/v1/{app_id}/media/search`](/management/dam/reference/media/get-api-v1-app-id-media-search) — Search Media. ## Shareable Links - [`GET /api/v1/{app_id}/shareable-links/{token}/folder/{folder_id}/media`](/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-folder-folder-id-media) — Get Shareable Link Folder Media. - [`GET /api/v1/{app_id}/shareable-links/{token}/folders`](/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-folders) — Get Shareable Link Folders. - [`GET /api/v1/{app_id}/shareable-links/{token}/media`](/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-media) — Get Shareable Link Media. --- # Get folder by id Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-id `GET /api/v1/{app_id}/folders/{id}` **Responses** - `200` — Folders - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "success": true } ``` --- # Get Folder Contents Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-id-contents Retrieves paginated, filtered, and sorted media items in a folder `GET /api/v1/{app_id}/folders/{id}/contents` **Responses** - `200` — Folder contents - `400` — Invalid request - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "alt_text": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "values": { "property1": [ { "type": "string", "value": "string" } ], "property2": [ { "type": "string", "value": "string" } ] } } ], "blurhash": "string", "copyright": "string", "created_at": "string", "custom": [ 0 ], "description": "string", "file_type": "string", "folder": { "id": "string", "name": "string", "public": true, "slug": "string" }, "id": "string", "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "variants": [ { "created_at": "string", "format": "string", "height": 0, "id": "string", "updated_at": "string", "url": "string", "width": 0 } ] } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Get Folder Facets Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-id-facets Returns every attribute available on media within a folder, with distinct-item counts. The returned filter_key on each facet can be passed back to Get Folder Contents as part of `attributes=` to filter the listing. Per-template exclusion: when computing counts for a facet, filters on that same template_key are ignored; filters on other templates still apply. This matches the OR-within-template / AND-across-template filter semantics so users can multi-select within a template and still see realistic counts for the other values. `GET /api/v1/{app_id}/folders/{id}/facets` **Responses** - `200` — Folder facets - `400` — Invalid request - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "active": true, "count": 0, "description": "string", "filter_key": "string", "key": "string", "name": "string", "template_key": "string", "values": [ { "count": 0, "type": "string", "value": "string" } ] } ], "success": true } ``` --- # Get Folder Tree from Path Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-id-tree Retrieves a folder tree starting from a specific folder `GET /api/v1/{app_id}/folders/{id}/tree` **Responses** - `200` — Folder tree retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "success": true } ``` --- # Get Public Folders Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-public Retrieves a flat list of public folders with pagination `GET /api/v1/{app_id}/folders/public` **Responses** - `200` — Public folders retrieved successfully - `400` — Invalid request - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Get Full Folder Tree Source: https://docs.enad.io/management/dam/reference/folders/get-api-v1-app-id-folders-tree Retrieves the complete folder hierarchy starting from the root folder `GET /api/v1/{app_id}/folders/tree` **Responses** - `200` — Full folder tree - `400` — Invalid request - `404` — Root folder not found - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "success": true } ``` --- # Get Media Item by ID Source: https://docs.enad.io/management/dam/reference/media/get-api-v1-app-id-folders-folder-id-media-media-id Retrieves a media item (image, video, or file) by its ID `GET /api/v1/{app_id}/folders/{folder_id}/media/{media_id}` **Responses** - `200` — Media item retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `403` — Forbidden: Folder is not public - `404` — Media item not found - `500` — Internal server error Response example, 200: ```json { "data": { "alt_text": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "values": { "property1": [ { "type": "string", "value": "string" } ], "property2": [ { "type": "string", "value": "string" } ] } } ], "blurhash": "string", "copyright": "string", "created_at": "string", "custom": [ 0 ], "description": "string", "file_type": "string", "folder": { "id": "string", "name": "string", "public": true, "slug": "string" }, "id": "string", "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "variants": [ { "created_at": "string", "format": "string", "height": 0, "id": "string", "updated_at": "string", "url": "string", "width": 0 } ] }, "success": true } ``` --- # Search Media Source: https://docs.enad.io/management/dam/reference/media/get-api-v1-app-id-media-search Full-text search across images, videos, and files in an app, matching title, alt_text, description, translations and attribute names in every translation, including attributes linked to the matched ones. The response also includes the attribute facets available on the matching media, with distinct-item counts and active flags reflecting `attributes=` filters. Per-template exclusion: when computing facet counts, filters on the same template_key are ignored while filters on other templates still apply (OR-within-template, AND-across-template). `GET /api/v1/{app_id}/media/search` **Responses** - `200` — Search results with facets - `400` — Invalid request - `500` — Internal server error Response example, 200: ```json { "data": [ { "alt_text": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "values": { "property1": [ { "type": "string", "value": "string" } ], "property2": [ { "type": "string", "value": "string" } ] } } ], "blurhash": "string", "copyright": "string", "created_at": "string", "custom": [ 0 ], "description": "string", "file_type": "string", "folder": { "id": "string", "name": "string", "public": true, "slug": "string" }, "id": "string", "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "variants": [ { "created_at": "string", "format": "string", "height": 0, "id": "string", "updated_at": "string", "url": "string", "width": 0 } ] } ], "facets": [ { "active": true, "count": 0, "description": "string", "filter_key": "string", "key": "string", "name": "string", "template_key": "string", "values": [ { "count": 0, "type": "string", "value": "string" } ] } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Get Shareable Link Folder Media Source: https://docs.enad.io/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-folder-folder-id-media Retrieves media items from a specific folder that belongs to a shareable link with pagination, filtering, and sorting `GET /api/v1/{app_id}/shareable-links/{token}/folder/{folder_id}/media` **Responses** - `200` — Folder media retrieved successfully - `400` — Invalid request - `404` — Shareable link or folder not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "alt_text": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "values": { "property1": [ { "type": "string", "value": "string" } ], "property2": [ { "type": "string", "value": "string" } ] } } ], "blurhash": "string", "copyright": "string", "created_at": "string", "custom": [ 0 ], "description": "string", "file_type": "string", "folder": { "id": "string", "name": "string", "public": true, "slug": "string" }, "id": "string", "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "variants": [ { "created_at": "string", "format": "string", "height": 0, "id": "string", "updated_at": "string", "url": "string", "width": 0 } ] } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Get Shareable Link Folders Source: https://docs.enad.io/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-folders Retrieves the list of folders associated with a shareable link with pagination and sorting `GET /api/v1/{app_id}/shareable-links/{token}/folders` **Responses** - `200` — Shareable link folders retrieved successfully - `400` — Invalid request - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Get Shareable Link Media Source: https://docs.enad.io/management/dam/reference/shareable-links/get-api-v1-app-id-shareable-links-token-media Retrieves all media items (from direct links and folders) associated with a shareable link with pagination, filtering, and sorting `GET /api/v1/{app_id}/shareable-links/{token}/media` **Responses** - `200` — Shareable link media retrieved successfully - `400` — Invalid request - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "alt_text": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "values": { "property1": [ { "type": "string", "value": "string" } ], "property2": [ { "type": "string", "value": "string" } ] } } ], "blurhash": "string", "copyright": "string", "created_at": "string", "custom": [ 0 ], "description": "string", "file_type": "string", "folder": { "id": "string", "name": "string", "public": true, "slug": "string" }, "id": "string", "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "variants": [ { "created_at": "string", "format": "string", "height": 0, "id": "string", "updated_at": "string", "url": "string", "width": 0 } ] } ], "pagination": { "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 }, "success": true } ``` --- # Management API Source: https://docs.enad.io/management/management-api The Management API is the server-to-server API for reading and writing the ENAD platform at `https://api.enad.io`: products, variants, attributes, translations, categories, collections, brands, listings, channels, markets, store groups, warehouses, stocks, prices, orders, bulk operations, and more. **[API reference (v2)](/management/management-api/reference)** Every endpoint in the current Management API, generated from the OpenAPI spec, with a Try-it panel and code samples. Browse endpoints **[API reference (v1, deprecated)](/management/management-api/v1/reference)** v1 is deprecated: it receives only bug fixes and security updates, and no new features. Existing integrations keep working; new integrations should use v2. Browse endpoints **[Webhooks](/integrations/webhooks)** Consume catalog events and push updates back into ENAD through this API. React to changes ## When to use it Use it from a trusted backend — never from a browser — whenever a system needs to change or reconcile catalog data: - **ERP and PIM feeds** importing products, variants, prices, and stock. - **Integrations** that consume webhooks and push updates back into ENAD. - **Bulk operations**: imports, exports, and mass updates across the catalog. Shoppers never call this API directly. Storefronts read product data from the [Product Search API](/storefront/graphql), and customer accounts live in the [Customers API](/storefront/customers-api). ## Authentication Every route is scoped to a team and app and expects a management token sent as `Authorization: Bearer `: ``` Authorization: Bearer ``` Tokens are created in Enad Admin at [app.enad.io](https://app.enad.io). A token belongs to one app, carries the app's permissions, and decides which endpoints it may call. Request bodies are limited to 30 MB. ## Versions The Management API is versioned by URL prefix: - **`/api/v2`** — the current API, where new features ship. See the [v2 reference](/management/management-api/reference). - **`/api/v1`** — deprecated. It receives only bug fixes and security updates, and no new features. See the [v1 reference](/management/management-api/v1/reference). New integrations should use v2; existing v1 integrations keep working. --- # Management API v2 Source: https://docs.enad.io/management/management-api/reference Server-to-server API for reading and writing the ENAD platform: products, variants, attributes, translations, categories, collections, brands, listings, channels, markets, store groups, warehouses, stocks, prices, orders, bulk operations, and more, at `https://api.enad.io`. ## When to use it Use it from a trusted backend — never from a browser — whenever a system needs to change or reconcile catalog data: an ERP or PIM feed creating products, a stock or price synchronization, a webhook handler pushing updates back into ENAD, or bulk imports and exports. Storefront clients should not call this API: shoppers read data from the Product Search API (https://docs.enad.io/storefront/graphql) and customer accounts live in the Customers API (https://docs.enad.io/storefront/customers-api). ## Authentication Every route is scoped to a team and app (`/api/v2/{team_slug}/{app_slug}/...`) and expects a management token sent as `Authorization: Bearer `. Tokens are created in Enad Admin at https://app.enad.io, carry the app's permissions, and request bodies are limited to 30 MB. ## Versions This is the current version of the API. Endpoints under `/api/v1` belong to the deprecated legacy API — see the [Management API v1 reference](/management/management-api/v1/reference). Version 2.0 Base URL: `https://api.enad.io` ## Attribute Templates V2 - [`POST /api/v2/{team_slug}/{app_slug}/attribute-templates`](/management/management-api/reference/attribute-templates-v2/create-attribute-templates) — Create attribute templates. - [`PATCH /api/v2/{team_slug}/{app_slug}/attribute-templates`](/management/management-api/reference/attribute-templates-v2/update-attribute-templates) — Update attribute templates. - [`GET /api/v2/{team_slug}/{app_slug}/attribute-templates`](/management/management-api/reference/attribute-templates-v2/list-attribute-templates) — List attribute templates. - [`DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates`](/management/management-api/reference/attribute-templates-v2/delete-attribute-templates) — Delete attribute templates. - [`GET /api/v2/{team_slug}/{app_slug}/attribute-templates/attributes`](/management/management-api/reference/attribute-templates-v2/list-attributes) — List attributes. - [`PUT /api/v2/{team_slug}/{app_slug}/attribute-templates/relationships`](/management/management-api/reference/attribute-templates-v2/upsert-attribute-relationships) — Upsert attribute relationships. - [`DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/relationships`](/management/management-api/reference/attribute-templates-v2/delete-attribute-relationships) — Delete attribute relationships. - [`GET /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}`](/management/management-api/reference/attribute-templates-v2/get-attribute-template) — Get attribute template. - [`GET /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes`](/management/management-api/reference/attribute-templates-v2/list-attribute-template-attributes) — List attribute template attributes. - [`POST /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes`](/management/management-api/reference/attribute-templates-v2/create-attributes) — Create attributes. - [`PATCH /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes`](/management/management-api/reference/attribute-templates-v2/update-attributes) — Update attributes. - [`DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes`](/management/management-api/reference/attribute-templates-v2/delete-attributes) — Delete attributes. - [`DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes/values`](/management/management-api/reference/attribute-templates-v2/delete-attribute-values) — Delete attribute values. - [`PUT /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/links`](/management/management-api/reference/attribute-templates-v2/upsert-attribute-template-links) — Upsert attribute template links. - [`DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/links`](/management/management-api/reference/attribute-templates-v2/delete-attribute-template-links) — Delete attribute template links. ## Brands V2 - [`POST /api/v2/{team_slug}/{app_slug}/brands`](/management/management-api/reference/brands-v2/create-brands) — Create brands. - [`PATCH /api/v2/{team_slug}/{app_slug}/brands`](/management/management-api/reference/brands-v2/update-brands) — Update brands. - [`GET /api/v2/{team_slug}/{app_slug}/brands`](/management/management-api/reference/brands-v2/list-brands) — List brands. - [`DELETE /api/v2/{team_slug}/{app_slug}/brands`](/management/management-api/reference/brands-v2/delete-brands) — Delete brands. - [`GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}`](/management/management-api/reference/brands-v2/get-brand) — Get brand. - [`POST /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/reference/brands-v2/create-brand-series) — Create brand series. - [`PATCH /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/reference/brands-v2/update-brand-series) — Update brand series. - [`GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/reference/brands-v2/list-brand-series) — List brand series. - [`DELETE /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/reference/brands-v2/delete-brand-series) — Delete brand series. - [`GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}`](/management/management-api/reference/brands-v2/get-brand-series) — Get brand series. ## Categories V2 - [`POST /api/v2/{team_slug}/{app_slug}/categories`](/management/management-api/reference/categories-v2/create-categories) — Create categories. - [`PATCH /api/v2/{team_slug}/{app_slug}/categories`](/management/management-api/reference/categories-v2/update-categories) — Update categories. - [`GET /api/v2/{team_slug}/{app_slug}/categories`](/management/management-api/reference/categories-v2/list-categories) — List categories. - [`DELETE /api/v2/{team_slug}/{app_slug}/categories`](/management/management-api/reference/categories-v2/delete-categories) — Delete categories. - [`GET /api/v2/{team_slug}/{app_slug}/categories/tree`](/management/management-api/reference/categories-v2/get-category-tree) — Get category tree. - [`PUT /api/v2/{team_slug}/{app_slug}/categories/products`](/management/management-api/reference/categories-v2/upsert-category-products) — Upsert categories products. - [`DELETE /api/v2/{team_slug}/{app_slug}/categories/products`](/management/management-api/reference/categories-v2/delete-category-products) — Delete categories products. - [`GET /api/v2/{team_slug}/{app_slug}/categories/{category_id}`](/management/management-api/reference/categories-v2/get-category) — Get category. ## Channels V2 - [`POST /api/v2/{team_slug}/{app_slug}/channels`](/management/management-api/reference/channels-v2/create-channels) — Create channels. - [`PATCH /api/v2/{team_slug}/{app_slug}/channels`](/management/management-api/reference/channels-v2/update-channels) — Update channels. - [`GET /api/v2/{team_slug}/{app_slug}/channels`](/management/management-api/reference/channels-v2/list-channels) — List channels. - [`DELETE /api/v2/{team_slug}/{app_slug}/channels`](/management/management-api/reference/channels-v2/delete-channels) — Delete channels. - [`PUT /api/v2/{team_slug}/{app_slug}/channels/products`](/management/management-api/reference/channels-v2/upsert-channel-products) — Upsert channel product memberships. - [`PATCH /api/v2/{team_slug}/{app_slug}/channels/products`](/management/management-api/reference/channels-v2/update-channel-products) — Update channel product statuses. - [`DELETE /api/v2/{team_slug}/{app_slug}/channels/products`](/management/management-api/reference/channels-v2/delete-channel-products) — Delete channel product memberships. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/variant-groups/channels/status`](/management/management-api/reference/channels-v2/update-channel-variant-group-statuses) — Update variant group channel statuses. - [`GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}`](/management/management-api/reference/channels-v2/get-channel) — Get channel. - [`GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content`](/management/management-api/reference/channels-v2/list-channel-content) — List channel content. - [`POST /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content`](/management/management-api/reference/channels-v2/create-channel-content) — Create channel content. - [`PATCH /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content`](/management/management-api/reference/channels-v2/update-channel-content) — Update channel content. - [`DELETE /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content`](/management/management-api/reference/channels-v2/delete-channel-content) — Delete channel content. - [`GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content/parent/{parent_id}`](/management/management-api/reference/channels-v2/list-channel-content-by-parent) — List channel content by parent. ## Collections V2 - [`POST /api/v2/{team_slug}/{app_slug}/collections`](/management/management-api/reference/collections-v2/create-collections) — Create collections. - [`PATCH /api/v2/{team_slug}/{app_slug}/collections`](/management/management-api/reference/collections-v2/update-collections) — Update collections. - [`GET /api/v2/{team_slug}/{app_slug}/collections`](/management/management-api/reference/collections-v2/list-collections) — List collections. - [`DELETE /api/v2/{team_slug}/{app_slug}/collections`](/management/management-api/reference/collections-v2/delete-collections) — Delete collections. - [`GET /api/v2/{team_slug}/{app_slug}/collections/{collection_id}`](/management/management-api/reference/collections-v2/get-collection) — Get collection. - [`GET /api/v2/{team_slug}/{app_slug}/collections/tree`](/management/management-api/reference/collections-v2/get-collection-tree) — Get collection tree. - [`PUT /api/v2/{team_slug}/{app_slug}/collections/products`](/management/management-api/reference/collections-v2/upsert-collection-products) — Upsert collections relationships. - [`DELETE /api/v2/{team_slug}/{app_slug}/collections/products`](/management/management-api/reference/collections-v2/delete-collection-products) — Delete collections relationships. ## Custom Roles V2 - [`POST /api/v2/{team_slug}/{app_slug}/custom-roles`](/management/management-api/reference/custom-roles-v2/create-custom-roles) — Create custom roles. - [`PATCH /api/v2/{team_slug}/{app_slug}/custom-roles`](/management/management-api/reference/custom-roles-v2/update-custom-roles) — Update custom roles. - [`GET /api/v2/{team_slug}/{app_slug}/custom-roles`](/management/management-api/reference/custom-roles-v2/list-custom-roles) — List custom roles. - [`DELETE /api/v2/{team_slug}/{app_slug}/custom-roles`](/management/management-api/reference/custom-roles-v2/delete-custom-roles) — Delete custom roles. - [`GET /api/v2/{team_slug}/{app_slug}/custom-roles/{custom_role_id}`](/management/management-api/reference/custom-roles-v2/get-custom-role) — Get custom role. ## Customer Groups V2 - [`POST /api/v2/{team_slug}/{app_slug}/customer-groups`](/management/management-api/reference/customer-groups-v2/create-customer-groups) — Create customer groups. - [`PATCH /api/v2/{team_slug}/{app_slug}/customer-groups`](/management/management-api/reference/customer-groups-v2/update-customer-groups) — Update customer groups. - [`GET /api/v2/{team_slug}/{app_slug}/customer-groups`](/management/management-api/reference/customer-groups-v2/list-customer-groups) — List customer groups. - [`DELETE /api/v2/{team_slug}/{app_slug}/customer-groups`](/management/management-api/reference/customer-groups-v2/delete-customer-groups) — Delete customer groups. - [`PUT /api/v2/{team_slug}/{app_slug}/customer-groups/prices`](/management/management-api/reference/customer-groups-v2/upsert-customer-group-prices) — Upsert customer group prices. - [`DELETE /api/v2/{team_slug}/{app_slug}/customer-groups/prices`](/management/management-api/reference/customer-groups-v2/delete-customer-group-prices) — Delete customer group prices. - [`GET /api/v2/{team_slug}/{app_slug}/customer-groups/prices/{customer_group_price_id}`](/management/management-api/reference/customer-groups-v2/get-customer-group-price) — Get customer group price. - [`GET /api/v2/{team_slug}/{app_slug}/customer-groups/{customer_group_id}`](/management/management-api/reference/customer-groups-v2/get-customer-group) — Get customer group. - [`GET /api/v2/{team_slug}/{app_slug}/customer-groups/{customer_group_id}/prices`](/management/management-api/reference/customer-groups-v2/list-customer-group-prices) — List customer group prices. ## DAM V2 - [`POST /api/v2/{team_slug}/{app_slug}/dam/folders`](/management/management-api/reference/dam-v2/create-folders) — Create folders. - [`PATCH /api/v2/{team_slug}/{app_slug}/dam/folders`](/management/management-api/reference/dam-v2/update-folders) — Update folders. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders`](/management/management-api/reference/dam-v2/list-folders) — List folders. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/folders`](/management/management-api/reference/dam-v2/delete-folders) — Delete folders. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders/tree`](/management/management-api/reference/dam-v2/get-folder-tree) — Get folder tree. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/folders/roles`](/management/management-api/reference/dam-v2/upsert-folder-roles) — Upsert folder roles. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/folders/roles`](/management/management-api/reference/dam-v2/delete-folder-roles) — Delete folder roles. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}`](/management/management-api/reference/dam-v2/get-folder) — Get folder. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree`](/management/management-api/reference/dam-v2/get-folder-tree-from-path) — Get folder tree from path. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/media`](/management/management-api/reference/dam-v2/list-folder-media) — List folder media. - [`GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles`](/management/management-api/reference/dam-v2/list-folder-roles) — List folder roles. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder`](/management/management-api/reference/dam-v2/upsert-media-folder) — Upsert media folder. - [`GET /api/v2/{team_slug}/{app_slug}/dam/media/search`](/management/management-api/reference/dam-v2/search-dam-media) — Search DAM media. - [`POST /api/v2/{team_slug}/{app_slug}/dam/images`](/management/management-api/reference/dam-v2/start-image-upload) — Start image upload. - [`PATCH /api/v2/{team_slug}/{app_slug}/dam/images`](/management/management-api/reference/dam-v2/update-images) — Update images. - [`GET /api/v2/{team_slug}/{app_slug}/dam/images`](/management/management-api/reference/dam-v2/list-images) — List images. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/images`](/management/management-api/reference/dam-v2/delete-images) — Delete images. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/images/items`](/management/management-api/reference/dam-v2/upsert-image-items) — Upsert images items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/images/items`](/management/management-api/reference/dam-v2/delete-image-items) — Delete images items. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}/items`](/management/management-api/reference/dam-v2/upsert-image-items-for-image) — Upsert image items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}/items`](/management/management-api/reference/dam-v2/delete-image-items-for-image) — Delete image items. - [`GET /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}`](/management/management-api/reference/dam-v2/get-image) — Get image. - [`POST /api/v2/{team_slug}/{app_slug}/dam/videos`](/management/management-api/reference/dam-v2/start-video-upload) — Start video upload. - [`PATCH /api/v2/{team_slug}/{app_slug}/dam/videos`](/management/management-api/reference/dam-v2/update-videos) — Update videos. - [`GET /api/v2/{team_slug}/{app_slug}/dam/videos`](/management/management-api/reference/dam-v2/list-videos) — List videos. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/videos`](/management/management-api/reference/dam-v2/delete-videos) — Delete videos. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/videos/items`](/management/management-api/reference/dam-v2/upsert-video-items) — Upsert videos items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/videos/items`](/management/management-api/reference/dam-v2/delete-video-items) — Delete videos items. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}/items`](/management/management-api/reference/dam-v2/upsert-video-items-for-video) — Upsert video items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}/items`](/management/management-api/reference/dam-v2/delete-video-items-for-video) — Delete video items. - [`GET /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}`](/management/management-api/reference/dam-v2/get-video) — Get video. - [`POST /api/v2/{team_slug}/{app_slug}/dam/files`](/management/management-api/reference/dam-v2/start-file-upload) — Start file upload. - [`PATCH /api/v2/{team_slug}/{app_slug}/dam/files`](/management/management-api/reference/dam-v2/update-files) — Update files. - [`GET /api/v2/{team_slug}/{app_slug}/dam/files`](/management/management-api/reference/dam-v2/list-files) — List files. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/files`](/management/management-api/reference/dam-v2/delete-files) — Delete files. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/files/items`](/management/management-api/reference/dam-v2/upsert-file-items) — Upsert files items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/files/items`](/management/management-api/reference/dam-v2/delete-file-items) — Delete files items. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}/items`](/management/management-api/reference/dam-v2/upsert-file-items-for-file) — Upsert file items. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}/items`](/management/management-api/reference/dam-v2/delete-file-items-for-file) — Delete file items. - [`GET /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}`](/management/management-api/reference/dam-v2/get-file) — Get file. - [`POST /api/v2/{team_slug}/{app_slug}/dam/shareable-links`](/management/management-api/reference/dam-v2/create-shareable-link) — Create shareable link. - [`GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links`](/management/management-api/reference/dam-v2/list-shareable-links) — List shareable links. - [`GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/reference/dam-v2/get-shareable-link) — Get shareable link. - [`PATCH /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/reference/dam-v2/update-shareable-link) — Update shareable link. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/reference/dam-v2/delete-shareable-link) — Delete shareable link. - [`PUT /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources`](/management/management-api/reference/dam-v2/upsert-shareable-link-resources) — Upsert shareable link resources. - [`DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources`](/management/management-api/reference/dam-v2/delete-shareable-link-resources) — Delete shareable link resources. ## Markets V2 - [`POST /api/v2/{team_slug}/{app_slug}/markets`](/management/management-api/reference/markets-v2/create-markets) — Create markets. - [`PATCH /api/v2/{team_slug}/{app_slug}/markets`](/management/management-api/reference/markets-v2/update-markets) — Update markets. - [`GET /api/v2/{team_slug}/{app_slug}/markets`](/management/management-api/reference/markets-v2/list-markets) — List markets. - [`DELETE /api/v2/{team_slug}/{app_slug}/markets`](/management/management-api/reference/markets-v2/delete-markets) — Delete markets. - [`GET /api/v2/{team_slug}/{app_slug}/markets/{market_id}`](/management/management-api/reference/markets-v2/get-market) — Get market. ## Merchant Users V2 - [`POST /api/v2/{team_slug}/{app_slug}/merchant-users`](/management/management-api/reference/merchant-users-v2/create-merchant-users) — Create merchant users. - [`PATCH /api/v2/{team_slug}/{app_slug}/merchant-users`](/management/management-api/reference/merchant-users-v2/update-merchant-users) — Update merchant users. - [`GET /api/v2/{team_slug}/{app_slug}/merchant-users`](/management/management-api/reference/merchant-users-v2/list-merchant-users) — List merchant users. - [`DELETE /api/v2/{team_slug}/{app_slug}/merchant-users`](/management/management-api/reference/merchant-users-v2/delete-merchant-users) — Delete merchant users. - [`POST /api/v2/{team_slug}/{app_slug}/merchant-users/send-email-verification`](/management/management-api/reference/merchant-users-v2/send-merchant-user-email-verifications) — Send email verifications. - [`POST /api/v2/{team_slug}/{app_slug}/merchant-users/new-password`](/management/management-api/reference/merchant-users-v2/set-merchant-user-passwords) — Set merchant user passwords. - [`PUT /api/v2/{team_slug}/{app_slug}/merchant-users/tags`](/management/management-api/reference/merchant-users-v2/upsert-merchant-user-tags) — Upsert merchant user tags. - [`DELETE /api/v2/{team_slug}/{app_slug}/merchant-users/tags`](/management/management-api/reference/merchant-users-v2/delete-merchant-user-tags) — Delete merchant user tags. - [`GET /api/v2/{team_slug}/{app_slug}/merchant-users/{user_id}`](/management/management-api/reference/merchant-users-v2/get-merchant-user) — Get merchant user. ## Orders V2 - [`POST /api/v2/{team_slug}/{app_slug}/orders`](/management/management-api/reference/orders-v2/create-orders) — Create orders. - [`PATCH /api/v2/{team_slug}/{app_slug}/orders`](/management/management-api/reference/orders-v2/update-orders) — Update orders. - [`GET /api/v2/{team_slug}/{app_slug}/orders`](/management/management-api/reference/orders-v2/list-orders) — List orders. - [`DELETE /api/v2/{team_slug}/{app_slug}/orders`](/management/management-api/reference/orders-v2/delete-orders) — Delete orders. - [`GET /api/v2/{team_slug}/{app_slug}/orders/metrics`](/management/management-api/reference/orders-v2/get-order-metrics) — Get order metrics. - [`PATCH /api/v2/{team_slug}/{app_slug}/orders/status`](/management/management-api/reference/orders-v2/update-order-statuses) — Update order statuses. - [`GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}`](/management/management-api/reference/orders-v2/get-order) — Get order. - [`GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}/history`](/management/management-api/reference/orders-v2/list-order-history) — List order history. - [`GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/reference/orders-v2/list-order-lines) — List order lines. - [`POST /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/reference/orders-v2/create-order-lines) — Create order lines. - [`PATCH /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/reference/orders-v2/update-order-lines) — Update order lines. - [`DELETE /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/reference/orders-v2/delete-order-lines) — Delete order lines. ## Organisations V2 - [`POST /api/v2/{team_slug}/{app_slug}/organisations`](/management/management-api/reference/organisations-v2/create-organisations) — Create organisations. - [`PATCH /api/v2/{team_slug}/{app_slug}/organisations`](/management/management-api/reference/organisations-v2/update-organisations) — Update organisations. - [`GET /api/v2/{team_slug}/{app_slug}/organisations`](/management/management-api/reference/organisations-v2/list-organisations) — List organisations. - [`DELETE /api/v2/{team_slug}/{app_slug}/organisations`](/management/management-api/reference/organisations-v2/delete-organisations) — Delete organisations. - [`PUT /api/v2/{team_slug}/{app_slug}/organisations/users`](/management/management-api/reference/organisations-v2/upsert-organisation-users) — Upsert organisation users. - [`DELETE /api/v2/{team_slug}/{app_slug}/organisations/users`](/management/management-api/reference/organisations-v2/delete-organisation-users) — Delete organisation users. - [`PUT /api/v2/{team_slug}/{app_slug}/organisations/tags`](/management/management-api/reference/organisations-v2/upsert-organisation-tags) — Upsert organisation tags. - [`DELETE /api/v2/{team_slug}/{app_slug}/organisations/tags`](/management/management-api/reference/organisations-v2/delete-organisation-tags) — Delete organisation tags. - [`PUT /api/v2/{team_slug}/{app_slug}/organisations/address-restrictions`](/management/management-api/reference/organisations-v2/upsert-organisation-address-restrictions) — Upsert organisation address restrictions. - [`DELETE /api/v2/{team_slug}/{app_slug}/organisations/address-restrictions`](/management/management-api/reference/organisations-v2/delete-organisation-address-restrictions) — Delete organisation address restrictions. - [`GET /api/v2/{team_slug}/{app_slug}/organisations/{org_id}`](/management/management-api/reference/organisations-v2/get-organisation) — Get organisation. - [`GET /api/v2/{team_slug}/{app_slug}/organisations/{org_id}/tree`](/management/management-api/reference/organisations-v2/get-organisation-tree) — Get organisation tree. ## Price Relays V2 - [`POST /api/v2/{team_slug}/{app_slug}/price-relays/sources`](/management/management-api/reference/price-relays-v2/create-price-relay-sources) — Create price relay sources. - [`PATCH /api/v2/{team_slug}/{app_slug}/price-relays/sources`](/management/management-api/reference/price-relays-v2/update-price-relay-sources) — Update price relay sources. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/sources`](/management/management-api/reference/price-relays-v2/list-price-relay-sources) — List price relay sources. - [`DELETE /api/v2/{team_slug}/{app_slug}/price-relays/sources`](/management/management-api/reference/price-relays-v2/delete-price-relay-sources) — Delete price relay sources. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/sources/{rule_id}`](/management/management-api/reference/price-relays-v2/get-price-relay-source) — Get price relay source. - [`POST /api/v2/{team_slug}/{app_slug}/price-relays/targets`](/management/management-api/reference/price-relays-v2/create-price-relay-targets) — Create price relay targets. - [`PATCH /api/v2/{team_slug}/{app_slug}/price-relays/targets`](/management/management-api/reference/price-relays-v2/update-price-relay-targets) — Update price relay targets. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/targets`](/management/management-api/reference/price-relays-v2/list-price-relay-targets) — List price relay targets. - [`DELETE /api/v2/{team_slug}/{app_slug}/price-relays/targets`](/management/management-api/reference/price-relays-v2/delete-price-relay-targets) — Delete price relay targets. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/targets/{rule_id}`](/management/management-api/reference/price-relays-v2/get-price-relay-target) — Get price relay target. - [`POST /api/v2/{team_slug}/{app_slug}/price-relays/connections`](/management/management-api/reference/price-relays-v2/create-price-relay-connections) — Create price relay connections. - [`PATCH /api/v2/{team_slug}/{app_slug}/price-relays/connections`](/management/management-api/reference/price-relays-v2/update-price-relay-connections) — Update price relay connections. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/connections`](/management/management-api/reference/price-relays-v2/list-price-relay-connections) — List price relay connections. - [`DELETE /api/v2/{team_slug}/{app_slug}/price-relays/connections`](/management/management-api/reference/price-relays-v2/delete-price-relay-connections) — Delete price relay connections. - [`GET /api/v2/{team_slug}/{app_slug}/price-relays/connections/{connection_id}`](/management/management-api/reference/price-relays-v2/get-price-relay-connection) — Get price relay connection. ## Products V2 - [`GET /api/v2/{team_slug}/{app_slug}/products`](/management/management-api/reference/products-v2/list-products) — List products. - [`POST /api/v2/{team_slug}/{app_slug}/products`](/management/management-api/reference/products-v2/bulk-create-products) — Create products. - [`PATCH /api/v2/{team_slug}/{app_slug}/products`](/management/management-api/reference/products-v2/bulk-update-products) — Update products. - [`DELETE /api/v2/{team_slug}/{app_slug}/products`](/management/management-api/reference/products-v2/bulk-delete-products) — Delete products. - [`GET /api/v2/{team_slug}/{app_slug}/products/sku/{product_number}`](/management/management-api/reference/products-v2/get-product-by-product-number) — Get product by product number. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/soft-delete`](/management/management-api/reference/products-v2/bulk-soft-delete-products) — Soft-delete products. - [`POST /api/v2/{team_slug}/{app_slug}/products/duplicate`](/management/management-api/reference/products-v2/bulk-duplicate-products) — Duplicate products. - [`GET /api/v2/{team_slug}/{app_slug}/products/{product_id}`](/management/management-api/reference/products-v2/get-product) — Get product. ## Variants V2 - [`GET /api/v2/{team_slug}/{app_slug}/products/variants`](/management/management-api/reference/variants-v2/list-variants) — List variants. - [`POST /api/v2/{team_slug}/{app_slug}/products/variants`](/management/management-api/reference/variants-v2/bulk-create-variants) — Create variants. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/variants`](/management/management-api/reference/variants-v2/bulk-update-variants) — Update variants. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/variants`](/management/management-api/reference/variants-v2/bulk-delete-variants) — Delete variants. - [`PUT /api/v2/{team_slug}/{app_slug}/products/variants/stock`](/management/management-api/reference/variants-v2/bulk-set-variants-stock) — Set variants stock. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/variants/stock`](/management/management-api/reference/variants-v2/bulk-delete-variants-stock) — Delete variants stock. - [`POST /api/v2/{team_slug}/{app_slug}/products/variants/stock/diff`](/management/management-api/reference/variants-v2/bulk-diff-variants-stock) — Diff variants stock. - [`PUT /api/v2/{team_slug}/{app_slug}/products/variants/prices`](/management/management-api/reference/variants-v2/bulk-put-variant-prices) — Upsert variant prices. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/variants/prices`](/management/management-api/reference/variants-v2/bulk-update-variant-prices) — Update variant prices. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/variants/prices`](/management/management-api/reference/variants-v2/bulk-delete-variant-prices) — Delete variant prices. - [`GET /api/v2/{team_slug}/{app_slug}/products/variants/{variant_id}`](/management/management-api/reference/variants-v2/get-variant) — Get variant. ## Variant Groups V2 - [`GET /api/v2/{team_slug}/{app_slug}/products/variant-groups`](/management/management-api/reference/variant-groups-v2/list-variant-groups) — List variant groups. - [`POST /api/v2/{team_slug}/{app_slug}/products/variant-groups`](/management/management-api/reference/variant-groups-v2/bulk-create-variant-groups) — Create variant groups. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/variant-groups`](/management/management-api/reference/variant-groups-v2/bulk-update-variant-groups) — Update variant groups. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/variant-groups`](/management/management-api/reference/variant-groups-v2/bulk-delete-variant-groups) — Delete variant groups. - [`PUT /api/v2/{team_slug}/{app_slug}/products/variant-groups/templates`](/management/management-api/reference/variant-groups-v2/bulk-put-variant-group-templates) — Upsert product variant group templates. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/variant-groups/templates`](/management/management-api/reference/variant-groups-v2/bulk-delete-variant-group-templates) — Delete product variant group templates. - [`GET /api/v2/{team_slug}/{app_slug}/products/variant-groups/{variant_group_id}`](/management/management-api/reference/variant-groups-v2/get-variant-group) — Get variant group. ## Product Drafts V2 - [`GET /api/v2/{team_slug}/{app_slug}/products/drafts`](/management/management-api/reference/product-drafts-v2/list-product-drafts) — List product drafts. - [`POST /api/v2/{team_slug}/{app_slug}/products/drafts`](/management/management-api/reference/product-drafts-v2/bulk-create-product-drafts) — Create product drafts. - [`PATCH /api/v2/{team_slug}/{app_slug}/products/drafts`](/management/management-api/reference/product-drafts-v2/bulk-update-product-drafts) — Update product drafts. - [`DELETE /api/v2/{team_slug}/{app_slug}/products/drafts`](/management/management-api/reference/product-drafts-v2/bulk-delete-product-drafts) — Delete product drafts. - [`POST /api/v2/{team_slug}/{app_slug}/products/drafts/promote`](/management/management-api/reference/product-drafts-v2/bulk-promote-product-drafts) — Promote product drafts. ## Redirects V2 - [`POST /api/v2/{team_slug}/{app_slug}/redirects`](/management/management-api/reference/redirects-v2/create-redirects) — Create redirects. - [`PATCH /api/v2/{team_slug}/{app_slug}/redirects`](/management/management-api/reference/redirects-v2/update-redirects) — Update redirects. - [`GET /api/v2/{team_slug}/{app_slug}/redirects`](/management/management-api/reference/redirects-v2/list-redirects) — List redirects. - [`DELETE /api/v2/{team_slug}/{app_slug}/redirects`](/management/management-api/reference/redirects-v2/delete-redirects) — Delete redirects. - [`GET /api/v2/{team_slug}/{app_slug}/redirects/{redirect_id}`](/management/management-api/reference/redirects-v2/get-redirect) — Get redirect. ## Relations V2 - [`POST /api/v2/{team_slug}/{app_slug}/relations`](/management/management-api/reference/relations-v2/create-relations) — Create relations. - [`PATCH /api/v2/{team_slug}/{app_slug}/relations`](/management/management-api/reference/relations-v2/update-relations) — Update relations. - [`GET /api/v2/{team_slug}/{app_slug}/relations`](/management/management-api/reference/relations-v2/list-relations) — List relations. - [`DELETE /api/v2/{team_slug}/{app_slug}/relations`](/management/management-api/reference/relations-v2/delete-relations) — Delete relations. - [`GET /api/v2/{team_slug}/{app_slug}/relations/{relation_id}`](/management/management-api/reference/relations-v2/get-relation) — Get relation. - [`PUT /api/v2/{team_slug}/{app_slug}/relations/products`](/management/management-api/reference/relations-v2/upsert-relation-products) — Upsert relations products. - [`DELETE /api/v2/{team_slug}/{app_slug}/relations/products`](/management/management-api/reference/relations-v2/delete-relation-products) — Delete relations products. - [`POST /api/v2/{team_slug}/{app_slug}/relations/types`](/management/management-api/reference/relations-v2/create-relation-types) — Create relation types. - [`PATCH /api/v2/{team_slug}/{app_slug}/relations/types`](/management/management-api/reference/relations-v2/update-relation-types) — Update relation types. - [`GET /api/v2/{team_slug}/{app_slug}/relations/types`](/management/management-api/reference/relations-v2/list-relation-types) — List relation types. - [`DELETE /api/v2/{team_slug}/{app_slug}/relations/types`](/management/management-api/reference/relations-v2/delete-relation-types) — Delete relation types. - [`GET /api/v2/{team_slug}/{app_slug}/relations/types/{relation_type_id}`](/management/management-api/reference/relations-v2/get-relation-type) — Get relation type. ## Schedule V2 - [`POST /api/v2/{team_slug}/{app_slug}/schedule`](/management/management-api/reference/schedule-v2/create-scheduled-jobs) — Create scheduled jobs. - [`PATCH /api/v2/{team_slug}/{app_slug}/schedule`](/management/management-api/reference/schedule-v2/update-scheduled-jobs) — Update scheduled jobs. - [`GET /api/v2/{team_slug}/{app_slug}/schedule`](/management/management-api/reference/schedule-v2/list-scheduled-jobs) — List scheduled jobs. - [`DELETE /api/v2/{team_slug}/{app_slug}/schedule`](/management/management-api/reference/schedule-v2/delete-scheduled-jobs) — Delete scheduled jobs. - [`POST /api/v2/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/reference/schedule-v2/create-scheduling-groups) — Create scheduling groups. - [`PATCH /api/v2/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/reference/schedule-v2/update-scheduling-groups) — Update scheduling groups. - [`GET /api/v2/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/reference/schedule-v2/list-scheduling-groups) — List scheduling groups. - [`DELETE /api/v2/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/reference/schedule-v2/delete-scheduling-groups) — Delete scheduling groups. - [`GET /api/v2/{team_slug}/{app_slug}/schedule/groups/{group_id}`](/management/management-api/reference/schedule-v2/get-scheduling-group) — Get scheduling group. ## Smart Listings V2 - [`POST /api/v2/{team_slug}/{app_slug}/smart-listings`](/management/management-api/reference/smart-listings-v2/create-smart-listings) — Create smart listings. - [`PATCH /api/v2/{team_slug}/{app_slug}/smart-listings`](/management/management-api/reference/smart-listings-v2/update-smart-listings) — Update smart listings. - [`GET /api/v2/{team_slug}/{app_slug}/smart-listings`](/management/management-api/reference/smart-listings-v2/list-smart-listings) — List smart listings. - [`DELETE /api/v2/{team_slug}/{app_slug}/smart-listings`](/management/management-api/reference/smart-listings-v2/delete-smart-listings) — Delete smart listings. - [`POST /api/v2/{team_slug}/{app_slug}/smart-listings/preview`](/management/management-api/reference/smart-listings-v2/preview-smart-listing) — Preview smart listing. - [`GET /api/v2/{team_slug}/{app_slug}/smart-listings/{listing_id}`](/management/management-api/reference/smart-listings-v2/get-smart-listing) — Get smart listing. ## Static Listings V2 - [`POST /api/v2/{team_slug}/{app_slug}/static-listings`](/management/management-api/reference/static-listings-v2/create-static-listings) — Create static listings. - [`PATCH /api/v2/{team_slug}/{app_slug}/static-listings`](/management/management-api/reference/static-listings-v2/update-static-listings) — Update static listings. - [`GET /api/v2/{team_slug}/{app_slug}/static-listings`](/management/management-api/reference/static-listings-v2/list-static-listings) — List static listings. - [`DELETE /api/v2/{team_slug}/{app_slug}/static-listings`](/management/management-api/reference/static-listings-v2/delete-static-listings) — Delete static listings. - [`GET /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}`](/management/management-api/reference/static-listings-v2/get-static-listing) — Get static listing. - [`POST /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}/items`](/management/management-api/reference/static-listings-v2/add-static-listing-items) — Add static listing items. - [`DELETE /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}/items`](/management/management-api/reference/static-listings-v2/delete-static-listing-items) — Delete static listing items. ## Store Groups V2 - [`POST /api/v2/{team_slug}/{app_slug}/store-groups`](/management/management-api/reference/store-groups-v2/create-store-groups) — Create store groups. - [`PATCH /api/v2/{team_slug}/{app_slug}/store-groups`](/management/management-api/reference/store-groups-v2/update-store-groups) — Update store groups. - [`GET /api/v2/{team_slug}/{app_slug}/store-groups`](/management/management-api/reference/store-groups-v2/list-store-groups) — List store groups. - [`DELETE /api/v2/{team_slug}/{app_slug}/store-groups`](/management/management-api/reference/store-groups-v2/delete-store-groups) — Delete store groups. - [`PUT /api/v2/{team_slug}/{app_slug}/store-groups/markets`](/management/management-api/reference/store-groups-v2/upsert-store-group-markets) — Upsert store group markets. - [`DELETE /api/v2/{team_slug}/{app_slug}/store-groups/markets`](/management/management-api/reference/store-groups-v2/delete-store-group-markets) — Delete store group markets. - [`GET /api/v2/{team_slug}/{app_slug}/store-groups/{store_group_id}`](/management/management-api/reference/store-groups-v2/get-store-group) — Get store group. ## Tags V2 - [`POST /api/v2/{team_slug}/{app_slug}/tags`](/management/management-api/reference/tags-v2/create-tags) — Create tags. - [`PATCH /api/v2/{team_slug}/{app_slug}/tags`](/management/management-api/reference/tags-v2/update-tags) — Update tags. - [`GET /api/v2/{team_slug}/{app_slug}/tags`](/management/management-api/reference/tags-v2/list-tags) — List tags. - [`DELETE /api/v2/{team_slug}/{app_slug}/tags`](/management/management-api/reference/tags-v2/delete-tags) — Delete tags. - [`PUT /api/v2/{team_slug}/{app_slug}/tags/relationships`](/management/management-api/reference/tags-v2/upsert-tag-relationships) — Upsert tags relationships. - [`DELETE /api/v2/{team_slug}/{app_slug}/tags/relationships`](/management/management-api/reference/tags-v2/delete-tag-relationships) — Delete tags relationships. - [`GET /api/v2/{team_slug}/{app_slug}/tags/{tag_id}`](/management/management-api/reference/tags-v2/get-tag) — Get tag. ## Tax Groups V2 - [`POST /api/v2/{team_slug}/{app_slug}/tax-groups`](/management/management-api/reference/tax-groups-v2/create-tax-groups) — Create tax groups. - [`PATCH /api/v2/{team_slug}/{app_slug}/tax-groups`](/management/management-api/reference/tax-groups-v2/update-tax-groups) — Update tax groups. - [`GET /api/v2/{team_slug}/{app_slug}/tax-groups`](/management/management-api/reference/tax-groups-v2/list-tax-groups) — List tax groups. - [`DELETE /api/v2/{team_slug}/{app_slug}/tax-groups`](/management/management-api/reference/tax-groups-v2/delete-tax-groups) — Delete tax groups. - [`PUT /api/v2/{team_slug}/{app_slug}/tax-groups/markets`](/management/management-api/reference/tax-groups-v2/upsert-tax-group-markets) — Upsert tax group markets. - [`DELETE /api/v2/{team_slug}/{app_slug}/tax-groups/markets`](/management/management-api/reference/tax-groups-v2/delete-tax-group-markets) — Delete tax group markets. - [`GET /api/v2/{team_slug}/{app_slug}/tax-groups/{tax_group_id}`](/management/management-api/reference/tax-groups-v2/get-tax-group) — Get tax group. ## Third Party Links V2 - [`POST /api/v2/{team_slug}/{app_slug}/third-party-links`](/management/management-api/reference/third-party-links-v2/create-third-party-links) — Create third party links. - [`PATCH /api/v2/{team_slug}/{app_slug}/third-party-links`](/management/management-api/reference/third-party-links-v2/update-third-party-links) — Update third party links. - [`GET /api/v2/{team_slug}/{app_slug}/third-party-links`](/management/management-api/reference/third-party-links-v2/list-third-party-links) — List third party links. - [`DELETE /api/v2/{team_slug}/{app_slug}/third-party-links`](/management/management-api/reference/third-party-links-v2/delete-third-party-links) — Delete third party links. - [`GET /api/v2/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}`](/management/management-api/reference/third-party-links-v2/get-third-party-link) — Get third party link. - [`PUT /api/v2/{team_slug}/{app_slug}/third-party-links/items`](/management/management-api/reference/third-party-links-v2/upsert-third-party-link-items) — Upsert third party link items. - [`DELETE /api/v2/{team_slug}/{app_slug}/third-party-links/items`](/management/management-api/reference/third-party-links-v2/delete-third-party-link-items) — Delete third party link items. ## Translations V2 - [`POST /api/v2/{team_slug}/{app_slug}/translations`](/management/management-api/reference/translations-v2/create-translations) — Create translations. - [`PATCH /api/v2/{team_slug}/{app_slug}/translations`](/management/management-api/reference/translations-v2/update-translations) — Update translations. - [`GET /api/v2/{team_slug}/{app_slug}/translations`](/management/management-api/reference/translations-v2/list-translations) — List translations. - [`DELETE /api/v2/{team_slug}/{app_slug}/translations`](/management/management-api/reference/translations-v2/delete-translations) — Delete translations. - [`GET /api/v2/{team_slug}/{app_slug}/translations/{translation_id}`](/management/management-api/reference/translations-v2/get-translation) — Get translation. ## Warehouses V2 - [`POST /api/v2/{team_slug}/{app_slug}/warehouses`](/management/management-api/reference/warehouses-v2/create-warehouses) — Create warehouses. - [`PATCH /api/v2/{team_slug}/{app_slug}/warehouses`](/management/management-api/reference/warehouses-v2/update-warehouses) — Update warehouses. - [`GET /api/v2/{team_slug}/{app_slug}/warehouses`](/management/management-api/reference/warehouses-v2/list-warehouses) — List warehouses. - [`DELETE /api/v2/{team_slug}/{app_slug}/warehouses`](/management/management-api/reference/warehouses-v2/delete-warehouses) — Delete warehouses. - [`PUT /api/v2/{team_slug}/{app_slug}/warehouses/markets`](/management/management-api/reference/warehouses-v2/upsert-warehouse-markets) — Upsert warehouse markets. - [`DELETE /api/v2/{team_slug}/{app_slug}/warehouses/markets`](/management/management-api/reference/warehouses-v2/delete-warehouse-markets) — Delete warehouse markets. - [`GET /api/v2/{team_slug}/{app_slug}/warehouses/{warehouse_id}`](/management/management-api/reference/warehouses-v2/get-warehouse) — Get warehouse. --- # Create attribute templates Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/create-attribute-templates Bulk-creates attribute templates. Successful entities are returned in data including their fields; per-item failures in errors keyed by the template key. Attributes are listed from the attributes endpoint. `POST /api/v2/{team_slug}/{app_slug}/attribute-templates` **Request body** (`application/json`, required) - `attribute_templates` (CreateAttributeTemplateItem[], required) Request body example: ```json { "attribute_templates": [ { "key": "string", "name": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "key": "string", "name": "string", "type": "boolean", "translatable": true } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create attributes Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/create-attributes Bulk-creates attributes under a template. Successful entities are returned in data; per-item failures in errors keyed by the attribute key. `POST /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes` **Request body** (`application/json`, required) - `attributes` (CreateAttributeItem[], required) Request body example: ```json { "attributes": [ { "key": "string", "name": "string", "description": "string", "values": {} } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete attribute relationships Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/delete-attribute-relationships Bulk-deletes attribute-to-item relationships. Each item names the type of the target with item_type and expands to one relationship per listed item id. Media item types (image, video, file) are resolved against the app's DAM. `DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/relationships` **Request body** (`application/json`, required) - `items` (AttributeRelationshipItem[], required) Request body example: ```json { "items": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_type": "product", "item_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_type": "product", "item_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ], "errors": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete attribute template links Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/delete-attribute-template-links Bulk-deletes links between attributes of a template. `DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/links` **Request body** (`application/json`, required) - `links` (AttributeTemplateLinkItem[], required) Request body example: ```json { "links": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "linked_attribute_id": "24f367d6-9e17-4355-b825-79e3ba7674d9" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "linked_attribute_id": "24f367d6-9e17-4355-b825-79e3ba7674d9" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete attribute templates Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/delete-attribute-templates Bulk-deletes attribute templates by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates` **Request body** (`application/json`, required) - `attribute_templates` (DeleteAttributeTemplateItem[], required) Request body example: ```json { "attribute_templates": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete attribute values Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/delete-attribute-values Bulk-deletes attribute values by attribute id and field key. `DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes/values` **Request body** (`application/json`, required) - `values` (DeleteAttributeValueItem[], required) Request body example: ```json { "values": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "field_key": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "field_key": "string" } ], "errors": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "field_key": "string", "message": "string" } ] } ``` --- # Delete attributes Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/delete-attributes Bulk-deletes attributes by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes` **Request body** (`application/json`, required) - `attributes` (DeleteAttributeItem[], required) Request body example: ```json { "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get attribute template Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/get-attribute-template Gets a single attribute template including its fields. Attributes are listed from the attributes endpoint, filtered by attribute-template-id. `GET /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } } ``` --- # List attribute template attributes Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/list-attribute-template-attributes Lists attributes for one template (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List attribute templates Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/list-attribute-templates Lists attribute templates with pagination. Each template includes its fields. `GET /api/v2/{team_slug}/{app_slug}/attribute-templates` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List attributes Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/list-attributes Lists all attribute values (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/attribute-templates/attributes` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update attribute templates Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/update-attribute-templates Bulk-patches attribute templates by id. Successful entities are returned in data including their fields. Sending fields upserts those fields by key. Attributes are listed from the attributes endpoint. `PATCH /api/v2/{team_slug}/{app_slug}/attribute-templates` **Request body** (`application/json`, required) - `attribute_templates` (PatchAttributeTemplateItem[], required) Request body example: ```json { "attribute_templates": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "key": "string", "name": "string", "type": "boolean", "translatable": true } ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "filterable": true, "translatable": true, "resources": [ "string" ], "fields": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "key": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update attributes Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/update-attributes Bulk-patches attributes by id. Each attribute must belong to the template in the path; an attribute of another template is reported in errors ("Attribute does not belong to this attribute template") and is not changed. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/attributes` **Request body** (`application/json`, required) - `attributes` (PatchAttributeItem[], required) Request body example: ```json { "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "values": {} } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translations": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert attribute relationships Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/upsert-attribute-relationships Bulk-upserts attribute-to-item relationships. Each item names the type of the target with item_type and expands to one relationship per listed item id. Media item types (image, video, file) are resolved against the app's DAM. `PUT /api/v2/{team_slug}/{app_slug}/attribute-templates/relationships` **Request body** (`application/json`, required) - `items` (AttributeRelationshipItem[], required) Request body example: ```json { "items": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_type": "product", "item_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_type": "product", "item_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ], "errors": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert attribute template links Source: https://docs.enad.io/management/management-api/reference/attribute-templates-v2/upsert-attribute-template-links Bulk-upserts links between attributes of a template. `PUT /api/v2/{team_slug}/{app_slug}/attribute-templates/{template_id}/links` **Request body** (`application/json`, required) - `links` (AttributeTemplateLinkItem[], required) Request body example: ```json { "links": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "linked_attribute_id": "24f367d6-9e17-4355-b825-79e3ba7674d9" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "linked_attribute_id": "24f367d6-9e17-4355-b825-79e3ba7674d9" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create brand series Source: https://docs.enad.io/management/management-api/reference/brands-v2/create-brand-series Bulk-creates series under a brand. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series` **Request body** (`application/json`, required) - `series` (CreateBrandSeriesItem[], required) Request body example: ```json { "series": [ { "name": "string", "slug": "string", "description": "string", "email": "string", "cover_id": "0eeb2f0b-28dd-48c9-bbaf-be203aed31f5", "logo_id": "1e12da27-d253-43f5-9f73-dd2101ceac0d" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create brands Source: https://docs.enad.io/management/management-api/reference/brands-v2/create-brands Bulk-creates brands. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/brands` **Request body** (`application/json`, required) - `brands` (CreateBrandItem[], required) Request body example: ```json { "brands": [ { "name": "string", "slug": "string", "description": "string", "email": "string", "cover_id": "0eeb2f0b-28dd-48c9-bbaf-be203aed31f5", "logo_id": "1e12da27-d253-43f5-9f73-dd2101ceac0d", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" } } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "series": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete brand series Source: https://docs.enad.io/management/management-api/reference/brands-v2/delete-brand-series Bulk-deletes series by id under a brand. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series` **Request body** (`application/json`, required) - `series` (DeleteBrandSeriesItem[], required) Request body example: ```json { "series": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete brands Source: https://docs.enad.io/management/management-api/reference/brands-v2/delete-brands Bulk-deletes brands by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/brands` **Request body** (`application/json`, required) - `brands` (DeleteBrandItem[], required) Request body example: ```json { "brands": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get brand Source: https://docs.enad.io/management/management-api/reference/brands-v2/get-brand Gets a single brand including address, series and translations. `GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "series": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ``` --- # Get brand series Source: https://docs.enad.io/management/management-api/reference/brands-v2/get-brand-series Gets a single series belonging to a brand. `GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ``` --- # List brand series Source: https://docs.enad.io/management/management-api/reference/brands-v2/list-brand-series Lists series for a brand with pagination. `GET /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "total_pages": 0, "total_items": 0 } ``` --- # List brands Source: https://docs.enad.io/management/management-api/reference/brands-v2/list-brands Lists brands (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/brands` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "total_pages": 0, "total_items": 0 } ``` --- # Update brand series Source: https://docs.enad.io/management/management-api/reference/brands-v2/update-brand-series Bulk-patches series by id under a brand. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/brands/{brand_id}/series` **Request body** (`application/json`, required) - `series` (PatchBrandSeriesItem[], required) Request body example: ```json { "series": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "email": "string", "cover_id": "0eeb2f0b-28dd-48c9-bbaf-be203aed31f5", "logo_id": "1e12da27-d253-43f5-9f73-dd2101ceac0d" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update brands Source: https://docs.enad.io/management/management-api/reference/brands-v2/update-brands Bulk-patches brands by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/brands` **Request body** (`application/json`, required) - `brands` (PatchBrandItem[], required) Request body example: ```json { "brands": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "email": "string", "cover_id": "0eeb2f0b-28dd-48c9-bbaf-be203aed31f5", "logo_id": "1e12da27-d253-43f5-9f73-dd2101ceac0d", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "address": { "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "series": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "cover": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "logo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "url": "string" }, "description": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "translations": { "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create categories Source: https://docs.enad.io/management/management-api/reference/categories-v2/create-categories Bulk-creates categories. Parent cycles are rejected like v2 collections. `POST /api/v2/{team_slug}/{app_slug}/categories` **Request body** (`application/json`, required) - `categories` (CreateCategoryItem[], required) Request body example: ```json { "categories": [ { "name": "string", "slug": "string", "status": "string", "description": "string", "meta_title": "string", "meta_description": "string", "google_product_category_id": "string", "sort_order": 0, "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "uri": "string", "status": "string", "description": "string", "seo": { "meta_title": "string", "meta_description": "string" }, "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "sort_order": 0, "cover_url": "string", "google_product_category_id": "string", "translations": { "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "children": [ {} ], "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete categories Source: https://docs.enad.io/management/management-api/reference/categories-v2/delete-categories Bulk-deletes categories and their children, with their translations and redirects. Deleted ids are returned in data; an id that is not a category of this app is reported in errors ("Category not found"). `DELETE /api/v2/{team_slug}/{app_slug}/categories` **Request body** (`application/json`, required) - `categories` (DeleteCategoryItem[], required) Request body example: ```json { "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete categories products Source: https://docs.enad.io/management/management-api/reference/categories-v2/delete-category-products Bulk-deletes product-to-category relationships. `DELETE /api/v2/{team_slug}/{app_slug}/categories/products` **Request body** (`application/json`, required) - `products` (DeleteCategoryProductItem[], required) Request body example: ```json { "products": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "order": 0, "is_main_category": true } ], "errors": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Get category Source: https://docs.enad.io/management/management-api/reference/categories-v2/get-category Gets a single category including translations, children and redirects. `GET /api/v2/{team_slug}/{app_slug}/categories/{category_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "uri": "string", "status": "string", "description": "string", "seo": { "meta_title": "string", "meta_description": "string" }, "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "sort_order": 0, "cover_url": "string", "google_product_category_id": "string", "translations": { "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "children": [ {} ], "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get category tree Source: https://docs.enad.io/management/management-api/reference/categories-v2/get-category-tree Returns the full category hierarchy as trees rooted at top-level categories. `GET /api/v2/{team_slug}/{app_slug}/categories/tree` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "uri": "string", "status": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "sort_order": 0, "cover_url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "children": [ {} ] } ] } ``` --- # List categories Source: https://docs.enad.io/management/management-api/reference/categories-v2/list-categories Lists categories (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/categories` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "uri": "string", "status": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "sort_order": 0, "cover_url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update categories Source: https://docs.enad.io/management/management-api/reference/categories-v2/update-categories Bulk-patches categories by id. Parent cycles are rejected like v2 collections. `PATCH /api/v2/{team_slug}/{app_slug}/categories` **Request body** (`application/json`, required) - `categories` (PatchCategoryItem[], required) Request body example: ```json { "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string", "description": "string", "meta_title": "string", "meta_description": "string", "google_product_category_id": "string", "sort_order": 0, "parent_id": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "uri": "string", "status": "string", "description": "string", "seo": { "meta_title": "string", "meta_description": "string" }, "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "sort_order": 0, "cover_url": "string", "google_product_category_id": "string", "translations": { "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "children": [ {} ], "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert categories products Source: https://docs.enad.io/management/management-api/reference/categories-v2/upsert-category-products Bulk-upserts product-to-category relationships. `PUT /api/v2/{team_slug}/{app_slug}/categories/products` **Request body** (`application/json`, required) - `products` (UpsertCategoryProductItem[], required) Request body example: ```json { "products": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "order": 0, "is_main_category": true } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "order": 0, "is_main_category": true } ], "errors": [ { "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Create channel content Source: https://docs.enad.io/management/management-api/reference/channels-v2/create-channel-content Bulk-creates content entries for a channel. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content` **Request body** (`application/json`, required) - `content` (CreateChannelContentItem[], required) Request body example: ```json { "content": [ { "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "message": "string" } ] } ``` --- # Create channels Source: https://docs.enad.io/management/management-api/reference/channels-v2/create-channels Bulk-creates channels. Successful entities are returned in data; per-item failures in errors keyed by the channel slug. `POST /api/v2/{team_slug}/{app_slug}/channels` **Request body** (`application/json`, required) - `channels` (CreateChannelItem[], required) Request body example: ```json { "channels": [ { "name": "string", "slug": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd", "effective_publishing_rule": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "is_default": true, "minimum_images": 0, "should_have_price": true, "should_have_product_name": true, "should_have_brand": true, "should_have_description": true, "should_have_category": true, "should_have_main_category": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete channel content Source: https://docs.enad.io/management/management-api/reference/channels-v2/delete-channel-content Bulk-deletes content entries by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content` **Request body** (`application/json`, required) - `content` (DeleteChannelContentItem[], required) Request body example: ```json { "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "message": "string" } ] } ``` --- # Delete channel product memberships Source: https://docs.enad.io/management/management-api/reference/channels-v2/delete-channel-products Bulk-deletes channel-to-product memberships. Per-item failures are returned in errors. `DELETE /api/v2/{team_slug}/{app_slug}/channels/products` **Request body** (`application/json`, required) - `products` (DeleteChannelProductItem[], required) Request body example: ```json { "products": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "status": "string", "status_updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Delete channels Source: https://docs.enad.io/management/management-api/reference/channels-v2/delete-channels Bulk-deletes channels by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/channels` **Request body** (`application/json`, required) - `channels` (DeleteChannelItem[], required) Request body example: ```json { "channels": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get channel Source: https://docs.enad.io/management/management-api/reference/channels-v2/get-channel Gets a single channel including its market ids and effective publishing rule. `GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd", "effective_publishing_rule": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "is_default": true, "minimum_images": 0, "should_have_price": true, "should_have_product_name": true, "should_have_brand": true, "should_have_description": true, "should_have_category": true, "should_have_main_category": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List channel content Source: https://docs.enad.io/management/management-api/reference/channels-v2/list-channel-content Lists content entries for a channel with pagination. `GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List channel content by parent Source: https://docs.enad.io/management/management-api/reference/channels-v2/list-channel-content-by-parent Lists content entries for a channel filtered by parent id. `GET /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content/parent/{parent_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List channels Source: https://docs.enad.io/management/management-api/reference/channels-v2/list-channels Lists channels (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/channels` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd", "effective_publishing_rule": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "is_default": true, "minimum_images": 0, "should_have_price": true, "should_have_product_name": true, "should_have_brand": true, "should_have_description": true, "should_have_category": true, "should_have_main_category": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update channel content Source: https://docs.enad.io/management/management-api/reference/channels-v2/update-channel-content Bulk-patches content entries by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/channels/{channel_id}/content` **Request body** (`application/json`, required) - `content` (PatchChannelContentItem[], required) Request body example: ```json { "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "parent_type": "string", "field_type": "string", "value": "string", "translations": [ { "language_code": "string", "value": "string" } ], "relationships": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "preview": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "message": "string" } ] } ``` --- # Update channel product statuses Source: https://docs.enad.io/management/management-api/reference/channels-v2/update-channel-products Bulk-sets the publishing status of channel-to-product memberships. `PATCH /api/v2/{team_slug}/{app_slug}/channels/products` **Request body** (`application/json`, required) - `products` (PatchChannelProductStatusItem[], required) Request body example: ```json { "products": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "status": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "status": "string", "status_updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Update variant group channel statuses Source: https://docs.enad.io/management/management-api/reference/channels-v2/update-channel-variant-group-statuses Bulk-sets the per-channel publishing status of variant groups. `PATCH /api/v2/{team_slug}/{app_slug}/products/variant-groups/channels/status` **Request body** (`application/json`, required) - `variant_groups` (PatchChannelVariantGroupStatusItem[], required) Request body example: ```json { "variant_groups": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "status": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "status": "string" } ], "errors": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "message": "string" } ] } ``` --- # Update channels Source: https://docs.enad.io/management/management-api/reference/channels-v2/update-channels Bulk-patches channels by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/channels` **Request body** (`application/json`, required) - `channels` (PatchChannelItem[], required) Request body example: ```json { "channels": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "market_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "description": "string", "active": true, "publishing_rule_id": "125a9b9d-2f65-4f23-bbd5-4b05bec210bd", "effective_publishing_rule": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "is_default": true, "minimum_images": 0, "should_have_price": true, "should_have_product_name": true, "should_have_brand": true, "should_have_description": true, "should_have_category": true, "should_have_main_category": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert channel product memberships Source: https://docs.enad.io/management/management-api/reference/channels-v2/upsert-channel-products Bulk-upserts channel-to-product memberships. Successful rows are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/channels/products` **Request body** (`application/json`, required) - `products` (UpsertChannelProductItem[], required) Request body example: ```json { "products": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "status": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "status": "string", "status_updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Create collections Source: https://docs.enad.io/management/management-api/reference/collections-v2/create-collections Bulk-creates collections. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/collections` **Request body** (`application/json`, required) - `collections` (CreateCollectionItem[], required) Request body example: ```json { "collections": [ { "title": "string", "slug": "string", "status": "active", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "active", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "children": [ {} ], "products": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "sort_order": 0 } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "uri": "string" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "message": "string" } ] } ``` --- # Delete collections relationships Source: https://docs.enad.io/management/management-api/reference/collections-v2/delete-collection-products Bulk-deletes product-to-collection relationships. Deleted pairs are returned in data. `DELETE /api/v2/{team_slug}/{app_slug}/collections/products` **Request body** (`application/json`, required) - `products` (DeleteCollectionProductItem[], required) Request body example: ```json { "products": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ], "errors": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Delete collections Source: https://docs.enad.io/management/management-api/reference/collections-v2/delete-collections Bulk-deletes collections. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/collections` **Request body** (`application/json`, required) - `collections` (DeleteCollectionItem[], required) Request body example: ```json { "collections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "message": "string" } ] } ``` --- # Get collection Source: https://docs.enad.io/management/management-api/reference/collections-v2/get-collection Gets a single collection including children, translations, and redirects. `GET /api/v2/{team_slug}/{app_slug}/collections/{collection_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "active", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "children": [ {} ], "products": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "sort_order": 0 } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "uri": "string" } } ``` --- # Get collection tree Source: https://docs.enad.io/management/management-api/reference/collections-v2/get-collection-tree Returns the full collection hierarchy as trees rooted at top-level collections, each node minimal with nested children. `GET /api/v2/{team_slug}/{app_slug}/collections/tree` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "uri": "string", "children": [ {} ] } ] } ``` --- # List collections Source: https://docs.enad.io/management/management-api/reference/collections-v2/list-collections Lists collections (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/collections` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "uri": "string" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update collections Source: https://docs.enad.io/management/management-api/reference/collections-v2/update-collections Bulk-patches collections. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/collections` **Request body** (`application/json`, required) - `collections` (PatchCollectionItem[], required) Request body example: ```json { "collections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "active", "parent_id": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "slug": "string", "status": "active", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "type": "category", "old_slug": "string", "new_slug": "string", "locale": "string" } ], "children": [ {} ], "products": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "sort_order": 0 } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "uri": "string" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "message": "string" } ] } ``` --- # Upsert collections relationships Source: https://docs.enad.io/management/management-api/reference/collections-v2/upsert-collection-products Bulk-upserts product-to-collection relationships; sort_order is authoritative on conflict. `PUT /api/v2/{team_slug}/{app_slug}/collections/products` **Request body** (`application/json`, required) - `products` (UpsertCollectionProductItem[], required) Request body example: ```json { "products": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "sort_order": 0 } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "sort_order": 0 } ], "errors": [ { "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Create custom roles Source: https://docs.enad.io/management/management-api/reference/custom-roles-v2/create-custom-roles Bulk-creates custom roles. Successful entities are returned in data; per-item failures in errors keyed by name. `POST /api/v2/{team_slug}/{app_slug}/custom-roles` **Request body** (`application/json`, required) - `custom_roles` (CreateCustomRoleItem[], required) Request body example: ```json { "custom_roles": [ { "slug": "string", "name": "string", "is_default": true } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "is_default": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete custom roles Source: https://docs.enad.io/management/management-api/reference/custom-roles-v2/delete-custom-roles Bulk-deletes custom roles by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/custom-roles` **Request body** (`application/json`, required) - `custom_roles` (DeleteCustomRoleItem[], required) Request body example: ```json { "custom_roles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get custom role Source: https://docs.enad.io/management/management-api/reference/custom-roles-v2/get-custom-role Gets a single custom role. `GET /api/v2/{team_slug}/{app_slug}/custom-roles/{custom_role_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "is_default": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List custom roles Source: https://docs.enad.io/management/management-api/reference/custom-roles-v2/list-custom-roles Lists custom roles with pagination. `GET /api/v2/{team_slug}/{app_slug}/custom-roles` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "is_default": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update custom roles Source: https://docs.enad.io/management/management-api/reference/custom-roles-v2/update-custom-roles Bulk-patches custom roles by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/custom-roles` **Request body** (`application/json`, required) - `custom_roles` (PatchCustomRoleItem[], required) Request body example: ```json { "custom_roles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "is_default": true } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "is_default": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create customer groups Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/create-customer-groups Bulk-creates customer groups. Successful entities are returned in data; per-item failures in errors keyed by the customer group slug. `POST /api/v2/{team_slug}/{app_slug}/customer-groups` **Request body** (`application/json`, required) - `customer_groups` (CreateCustomerGroupItem[], required) Request body example: ```json { "customer_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "name": "string", "slug": "string", "type": "CUSTOM_PRICES", "discount_percentage": 0, "discount_percentage_decimals": 0 } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "name": "string", "slug": "string", "type": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete customer group prices Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/delete-customer-group-prices Bulk-deletes customer group product variant prices by customer group, variant and market. `DELETE /api/v2/{team_slug}/{app_slug}/customer-groups/prices` **Request body** (`application/json`, required) - `prices` (DeleteCustomerGroupPriceItem[], required) Request body example: ```json { "prices": [ { "customer_group_id": "9136bb06-5b02-45e6-b51e-7d2eea8ad1e4", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "customer_group_id": "9136bb06-5b02-45e6-b51e-7d2eea8ad1e4", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ], "errors": [ { "customer_group_id": "9136bb06-5b02-45e6-b51e-7d2eea8ad1e4", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Delete customer groups Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/delete-customer-groups Bulk-deletes customer groups by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/customer-groups` **Request body** (`application/json`, required) - `customer_groups` (DeleteCustomerGroupItem[], required) Request body example: ```json { "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get customer group Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/get-customer-group Gets a single customer group. `GET /api/v2/{team_slug}/{app_slug}/customer-groups/{customer_group_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "name": "string", "slug": "string", "type": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get customer group price Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/get-customer-group-price Gets a single customer group product variant price. `GET /api/v2/{team_slug}/{app_slug}/customer-groups/prices/{customer_group_price_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "product_variant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string" }, "price_amount": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List customer group prices Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/list-customer-group-prices Lists product variant prices for one customer group with pagination. `GET /api/v2/{team_slug}/{app_slug}/customer-groups/{customer_group_id}/prices` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "product_variant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string" }, "price_amount": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List customer groups Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/list-customer-groups Lists customer groups (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/customer-groups` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update customer groups Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/update-customer-groups Bulk-patches customer groups by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/customer-groups` **Request body** (`application/json`, required) - `customer_groups` (PatchCustomerGroupItem[], required) Request body example: ```json { "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "name": "string", "slug": "string", "type": "CUSTOM_PRICES", "discount_percentage": 0, "discount_percentage_decimals": 0 } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "name": "string", "slug": "string", "type": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert customer group prices Source: https://docs.enad.io/management/management-api/reference/customer-groups-v2/upsert-customer-group-prices Bulk-upserts customer group product variant prices. Successful entities are returned in data; per-item failures in errors keyed by customer group and variant. `PUT /api/v2/{team_slug}/{app_slug}/customer-groups/prices` **Request body** (`application/json`, required) - `prices` (UpsertCustomerGroupPriceItem[], required) Request body example: ```json { "prices": [ { "customer_group_id": "9136bb06-5b02-45e6-b51e-7d2eea8ad1e4", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "price_amount": 0 } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customer_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" }, "product_variant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string" }, "price_amount": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "customer_group_id": "9136bb06-5b02-45e6-b51e-7d2eea8ad1e4", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Create folders Source: https://docs.enad.io/management/management-api/reference/dam-v2/create-folders Bulk-creates DAM folders. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/dam/folders` **Request body** (`application/json`, required) - `folders` (CreateFolderItem[], required) Request body example: ```json { "folders": [ { "name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "message": "string" } ] } ``` --- # Create shareable link Source: https://docs.enad.io/management/management-api/reference/dam-v2/create-shareable-link Creates a shareable link for DAM resources. `POST /api/v2/{team_slug}/{app_slug}/dam/shareable-links` **Request body** (`application/json`, required) - `description` (string) - `expires_at` (string) Request body example: ```json { "description": "string", "expires_at": "2019-08-24T14:15:22Z" } ``` **Responses** - `201` — Created - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "description": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Delete files items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-file-items Bulk-deletes file-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/files/items` **Request body** (`application/json`, required) - `items` (DeleteFileItem[], required) Request body example: ```json { "items": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete file items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-file-items-for-file Bulk-deletes file-to-item relationships for the file. Deleted pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}/items` **Request body** (`application/json`, required) - `items` (DeleteFileItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete files Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-files Bulk-deletes files. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/files` **Request body** (`application/json`, required) - `files` (FileRef[], required) Request body example: ```json { "files": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Delete folder roles Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-folder-roles Bulk-revokes app roles from folders. Successful pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/folders/roles` **Request body** (`application/json`, required) - `roles` (FolderRoleItem[], required) Request body example: ```json { "roles": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9" } ], "errors": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9", "message": "string" } ] } ``` --- # Delete folders Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-folders Bulk-deletes DAM folders. Deleted ids are returned in data; per-item failures in errors. Folders that are not empty or are default folders fail per item. `DELETE /api/v2/{team_slug}/{app_slug}/dam/folders` **Request body** (`application/json`, required) - `folders` (FolderRef[], required) Request body example: ```json { "folders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "message": "string" } ] } ``` --- # Delete images items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-image-items Bulk-deletes image-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/images/items` **Request body** (`application/json`, required) - `items` (DeleteImageItem[], required) Request body example: ```json { "items": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "priority": 0 } ], "errors": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete image items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-image-items-for-image Bulk-deletes image-to-item relationships for the image. Deleted pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}/items` **Request body** (`application/json`, required) - `items` (DeleteImageItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "priority": 0 } ], "errors": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete images Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-images Bulk-deletes images. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/images` **Request body** (`application/json`, required) - `images` (ImageRef[], required) Request body example: ```json { "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Delete shareable link Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-shareable-link Deletes a shareable link. `DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } } ``` --- # Delete shareable link resources Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-shareable-link-resources Removes folders, images, videos and files from a shareable link. `DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources` **Request body** (`application/json`, required) - `folder_ids` (UUID[]) - `image_ids` (UUID[]) - `video_ids` (UUID[]) - `file_ids` (UUID[]) Request body example: ```json { "folder_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "image_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "video_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "file_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ``` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "folder_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "image_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "video_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "file_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } } ``` --- # Delete videos items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-video-items Bulk-deletes video-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/videos/items` **Request body** (`application/json`, required) - `items` (DeleteVideoItem[], required) Request body example: ```json { "items": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string" } ], "errors": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete video items Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-video-items-for-video Bulk-deletes video-to-item relationships for the video. Deleted pairs are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}/items` **Request body** (`application/json`, required) - `items` (DeleteVideoItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string" } ], "errors": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete videos Source: https://docs.enad.io/management/management-api/reference/dam-v2/delete-videos Bulk-deletes videos. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/dam/videos` **Request body** (`application/json`, required) - `videos` (VideoRef[], required) Request body example: ```json { "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Get file Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-file Gets a single file including translations, attributes and item usage. `GET /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "type": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "type": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # Get folder Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-folder Gets a single DAM folder including media counts and content access. `GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get folder tree Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-folder-tree Returns the full DAM folder hierarchy as trees rooted at top-level folders. `GET /api/v2/{team_slug}/{app_slug}/dam/folders/tree` **Responses** - `200` — OK - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "folder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "children": [ {} ] } ] } ``` --- # Get folder tree from path Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-folder-tree-from-path Returns the folder hierarchy starting at the given folder. `GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "folder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "children": [ {} ] } } ``` --- # Get image Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-image Gets a single image including translations, attributes, variants and item usage. `GET /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "filename": "string", "title": "string", "alt": "string", "copyright": "string", "status": "string", "public": true, "created_with_ai": true, "blurhash": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "alt": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "copyright": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "filename": "string", "title": "string", "alt": "string", "copyright": "string", "status": "string", "public": true, "created_with_ai": true, "blurhash": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # Get shareable link Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-shareable-link Gets a shareable link with its full resource details. `GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "description": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "folders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "image", "url": "string", "title": "string", "status": "string", "description": "string", "blurhash": "string", "public": true, "folder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # Get video Source: https://docs.enad.io/management/management-api/reference/dam-v2/get-video Gets a single video including variants, translations, attributes and item usage. `GET /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "description": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "variants": [ { "format": "string", "width": 0, "height": 0, "url": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # List files Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-files Lists files (minimal fields) with pagination, sorting and filtering. `GET /api/v2/{team_slug}/{app_slug}/dam/files` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "type": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List folder media Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-folder-media Lists media (images, videos, files) in a folder with pagination, sorting, attribute filtering and full-text search. Returns matching items plus attribute-based facet counts. `GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/media` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "image", "url": "string", "title": "string", "status": "string", "description": "string", "blurhash": "string", "public": true, "folder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "facets": [ { "template_key": "string", "template_name": "string", "values": [ { "key": "string", "name": "string", "count": 0, "active": true } ] } ], "total_pages": 0, "total_items": 0 } ``` --- # List folder roles Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-folder-roles Lists the app role ids granted access to a folder. `GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ``` --- # List folders Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-folders Lists DAM folders as a flat, paginated list. `GET /api/v2/{team_slug}/{app_slug}/dam/folders` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List images Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-images Lists images (minimal fields) with pagination, sorting and filtering. `GET /api/v2/{team_slug}/{app_slug}/dam/images` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "filename": "string", "title": "string", "alt": "string", "copyright": "string", "status": "string", "public": true, "created_with_ai": true, "blurhash": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List shareable links Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-shareable-links Lists shareable links with pagination. `GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "description": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List videos Source: https://docs.enad.io/management/management-api/reference/dam-v2/list-videos Lists videos (minimal fields) with pagination, sorting and filtering. `GET /api/v2/{team_slug}/{app_slug}/dam/videos` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "description": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "variants": [ { "format": "string", "width": 0, "height": 0, "url": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Search DAM media Source: https://docs.enad.io/management/management-api/reference/dam-v2/search-dam-media Searches images, videos and files across all accessible folders. Returns matching media items plus attribute-based facet counts. `GET /api/v2/{team_slug}/{app_slug}/dam/media/search` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "image", "url": "string", "title": "string", "status": "string", "description": "string", "blurhash": "string", "public": true, "folder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "facets": [ { "template_key": "string", "template_name": "string", "values": [ { "key": "string", "name": "string", "count": 0, "active": true } ] } ], "total_pages": 0, "total_items": 0 } ``` --- # Start file upload Source: https://docs.enad.io/management/management-api/reference/dam-v2/start-file-upload Bulk-creates file records and returns a presigned upload url per file. Nabbit never receives the file bytes; the consumer PUTs the bytes directly to `upload_url` and the file becomes active. `POST /api/v2/{team_slug}/{app_slug}/dam/files` **Request body** (`application/json`, required) - `files` (CreateFileItem[], required) Request body example: ```json { "files": [ { "filename": "string", "content_type": "string", "size_bytes": 0, "title": "string", "type": "string", "public": true, "created_with_ai": false, "overwrite": false, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "path": "string", "upload_url": "string", "expires_at": 0, "constraints": { "max_size_bytes": 0, "allowed_types": [ "string" ] } } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Start image upload Source: https://docs.enad.io/management/management-api/reference/dam-v2/start-image-upload Bulk-creates image records and returns a presigned upload url per image. Nabbit never receives the image bytes; the consumer PUTs the bytes directly to `upload_url` and the image becomes active. When `connect_to_sku`, `connect_to_slug` or `connect_to_variant_group` is set, the filename is matched against products (slug, product number, variant number) or variant groups and the image-to-item relationship is created automatically. The image priority is parsed from a numeric or uppercase letter suffix on the filename. `POST /api/v2/{team_slug}/{app_slug}/dam/images` **Request body** (`application/json`, required) - `images` (CreateImageItem[], required) Request body example: ```json { "images": [ { "filename": "string", "content_type": "string", "size_bytes": 0, "title": "string", "alt": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "public": true, "created_with_ai": false, "overwrite": false, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "connect_to_slug": true, "connect_to_sku": true, "connect_to_variant_group": true } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "path": "string", "upload_url": "string", "expires_at": 0, "constraints": { "max_size_bytes": 0, "allowed_types": [ "string" ] } } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Start video upload Source: https://docs.enad.io/management/management-api/reference/dam-v2/start-video-upload Bulk-creates video records and returns a presigned upload url per video. Nabbit never receives the video bytes; the consumer PUTs the bytes directly to `upload_url` and the video becomes active. `POST /api/v2/{team_slug}/{app_slug}/dam/videos` **Request body** (`application/json`, required) - `videos` (CreateVideoItem[], required) Request body example: ```json { "videos": [ { "filename": "string", "content_type": "string", "size_bytes": 0, "title": "string", "description": "string", "public": true, "created_with_ai": false, "overwrite": false, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "variants": [ { "format": "string", "width": 0, "height": 0 } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "path": "string", "upload_url": "string", "expires_at": 0, "constraints": { "max_size_bytes": 0, "allowed_types": [ "string" ] } } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Update files Source: https://docs.enad.io/management/management-api/reference/dam-v2/update-files Bulk-patches file metadata. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/dam/files` **Request body** (`application/json`, required) - `files` (PatchFileItem[], required) Request body example: ```json { "files": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "status": "active", "public": true, "translations": { "title": [ { "locale": "string", "value": "string" } ], "type": [ { "locale": "string", "value": "string" } ] } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "type": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "type": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Update folders Source: https://docs.enad.io/management/management-api/reference/dam-v2/update-folders Bulk-patches DAM folders. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/dam/folders` **Request body** (`application/json`, required) - `folders` (PatchFolderItem[], required) Request body example: ```json { "folders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parent_id": "string", "public": true } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "public": true, "is_default": true, "image_count": 0, "video_count": 0, "file_count": 0, "has_content_access": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "message": "string" } ] } ``` --- # Update images Source: https://docs.enad.io/management/management-api/reference/dam-v2/update-images Bulk-patches image metadata. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/dam/images` **Request body** (`application/json`, required) - `images` (PatchImageItem[], required) Request body example: ```json { "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "alt": "string", "copyright": "string", "status": "active", "custom": { "property1": "string", "property2": "string" }, "filename": "string", "parent_id": "string", "public": true } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "filename": "string", "title": "string", "alt": "string", "copyright": "string", "status": "string", "public": true, "created_with_ai": true, "blurhash": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "alt": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "copyright": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "filename": "string", "title": "string", "alt": "string", "copyright": "string", "status": "string", "public": true, "created_with_ai": true, "blurhash": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Update shareable link Source: https://docs.enad.io/management/management-api/reference/dam-v2/update-shareable-link Updates a shareable link. `PATCH /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Request body** (`application/json`, required) - `description` (string) - `expires_at` (string) Request body example: ```json { "description": "string", "expires_at": "2019-08-24T14:15:22Z" } ``` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "description": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Update videos Source: https://docs.enad.io/management/management-api/reference/dam-v2/update-videos Bulk-patches video metadata. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/dam/videos` **Request body** (`application/json`, required) - `videos` (PatchVideoItem[], required) Request body example: ```json { "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "description": "string", "status": "active", "public": true, "translations": { "title": [ { "locale": "string", "value": "string" } ], "description": [ { "locale": "string", "value": "string" } ] } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "description": "string", "status": "string", "public": true, "created_with_ai": true, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "variants": [ { "format": "string", "width": 0, "height": 0, "url": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "translations": { "title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } }, "property2": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6", "value": "string", "type": "string", "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "translation": { "value": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "used_by": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "type": "string", "priority": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "message": "string" } ] } ``` --- # Upsert files items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-file-items Bulk-upserts file-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/files/items` **Request body** (`application/json`, required) - `items` (UpsertFileItem[], required) Request body example: ```json { "items": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert file items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-file-items-for-file Bulk-upserts file-to-item relationships for the file. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/files/{file_id}/items` **Request body** (`application/json`, required) - `items` (UpsertFileItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert folder roles Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-folder-roles Bulk-grants app roles access to folders. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/folders/roles` **Request body** (`application/json`, required) - `roles` (FolderRoleItem[], required) Request body example: ```json { "roles": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9" } ], "errors": [ { "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9", "message": "string" } ] } ``` --- # Upsert images items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-image-items Bulk-upserts image-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/images/items` **Request body** (`application/json`, required) - `items` (UpsertImageItem[], required) Request body example: ```json { "items": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "priority": 0, "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "priority": 0 } ], "errors": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert image items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-image-items-for-image Bulk-upserts image-to-item relationships for the image, with an optional display priority per item. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/images/{image_id}/items` **Request body** (`application/json`, required) - `items` (UpsertImageItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "priority": 0, "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "priority": 0 } ], "errors": [ { "image_id": "84c230fd-5520-4984-8119-37365b66fd80", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert media folder Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-media-folder Bulk-sets the folder for media items of mixed types. A null folder_id moves the item to the default folder. `PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder` **Request body** (`application/json`, required) - `media` (MediaFolderItem[], required) Request body example: ```json { "media": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "image", "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "image", "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "message": "string" } ] } ``` --- # Upsert shareable link resources Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-shareable-link-resources Adds folders, images, videos and files to a shareable link. `PUT /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources` **Request body** (`application/json`, required) - `folder_ids` (UUID[]) - `image_ids` (UUID[]) - `video_ids` (UUID[]) - `file_ids` (UUID[]) Request body example: ```json { "folder_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "image_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "video_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "file_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ``` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "folder_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "image_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "video_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "file_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } } ``` --- # Upsert videos items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-video-items Bulk-upserts video-to-item relationships. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/videos/items` **Request body** (`application/json`, required) - `items` (UpsertVideoItem[], required) Request body example: ```json { "items": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string" } ], "errors": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Upsert video items Source: https://docs.enad.io/management/management-api/reference/dam-v2/upsert-video-items-for-video Bulk-upserts video-to-item relationships for the video. Successful pairs are returned in data; per-item failures in errors. `PUT /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id}/items` **Request body** (`application/json`, required) - `items` (UpsertVideoItemInput[], required) Request body example: ```json { "items": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "first_storefront": false, "first_feeds": false, "first_integrations": false } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string" } ], "errors": [ { "video_id": "165252b3-cd77-4f41-a38f-02417eac7441", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Create markets Source: https://docs.enad.io/management/management-api/reference/markets-v2/create-markets Bulk-creates markets. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/markets` **Request body** (`application/json`, required) - `markets` (CreateMarketItem[], required) Request body example: ```json { "markets": [ { "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete markets Source: https://docs.enad.io/management/management-api/reference/markets-v2/delete-markets Bulk-deletes markets by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/markets` **Request body** (`application/json`, required) - `markets` (DeleteMarketItem[], required) Request body example: ```json { "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get market Source: https://docs.enad.io/management/management-api/reference/markets-v2/get-market Gets a single market. `GET /api/v2/{team_slug}/{app_slug}/markets/{market_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List markets Source: https://docs.enad.io/management/management-api/reference/markets-v2/list-markets Lists markets (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/markets` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update markets Source: https://docs.enad.io/management/management-api/reference/markets-v2/update-markets Bulk-patches markets by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/markets` **Request body** (`application/json`, required) - `markets` (PatchMarketItem[], required) Request body example: ```json { "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create merchant users Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/create-merchant-users Bulk-creates merchant users. Successful entities are returned in data; per-item failures in errors keyed by email. `POST /api/v2/{team_slug}/{app_slug}/merchant-users` **Request body** (`application/json`, required) - `merchant_users` (CreateMerchantUserItem[], required) Request body example: ```json { "merchant_users": [ { "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "property2": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ], "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "custom_role_slug": "string", "custom_role_name": "string", "level": "string" } ], "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "organisation_number": "string", "organisation_name": "string", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "formatted_address": "string" } ], "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete merchant user tags Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/delete-merchant-user-tags Bulk-deletes merchant user to tag relationships. `DELETE /api/v2/{team_slug}/{app_slug}/merchant-users/tags` **Request body** (`application/json`, required) - `tags` (MerchantUserTagItem[], required) Request body example: ```json { "tags": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ], "errors": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "email": "string", "message": "string" } ] } ``` --- # Delete merchant users Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/delete-merchant-users Bulk-deletes merchant users by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/merchant-users` **Request body** (`application/json`, required) - `merchant_users` (MerchantUserReferenceItem[], required) Request body example: ```json { "merchant_users": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get merchant user Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/get-merchant-user Gets a single merchant user including tags, attributes, organisations and customer groups. `GET /api/v2/{team_slug}/{app_slug}/merchant-users/{user_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "property2": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ], "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "custom_role_slug": "string", "custom_role_name": "string", "level": "string" } ], "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "organisation_number": "string", "organisation_name": "string", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "formatted_address": "string" } ], "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List merchant users Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/list-merchant-users Lists merchant users (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/merchant-users` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Send email verifications Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/send-merchant-user-email-verifications Bulk-resends email verification links. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/merchant-users/send-email-verification` **Request body** (`application/json`, required) - `merchant_users` (MerchantUserReferenceItem[], required) Request body example: ```json { "merchant_users": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "property2": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ], "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "custom_role_slug": "string", "custom_role_name": "string", "level": "string" } ], "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "organisation_number": "string", "organisation_name": "string", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "formatted_address": "string" } ], "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Set merchant user passwords Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/set-merchant-user-passwords Bulk-sets new passwords. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/merchant-users/new-password` **Request body** (`application/json`, required) - `merchant_users` (SetMerchantUserPasswordItem[], required) Request body example: ```json { "merchant_users": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "new_password": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "property2": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ], "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "custom_role_slug": "string", "custom_role_name": "string", "level": "string" } ], "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "organisation_number": "string", "organisation_name": "string", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "formatted_address": "string" } ], "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update merchant users Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/update-merchant-users Bulk-patches merchant users by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/merchant-users` **Request body** (`application/json`, required) - `merchant_users` (PatchMerchantUserItem[], required) Request body example: ```json { "merchant_users": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "surname": "string", "email": "string", "language": "string", "market": "string", "store_group": "string", "phone_number": "string", "additions": { "property1": "string", "property2": "string" }, "email_verified": true, "email_verification_sent_at": "2019-08-24T14:15:22Z", "communication_preferences": { "allow_email": true, "allow_sms": true, "allow_postal": true }, "address": { "street": "string", "zip_code": "string", "city": "string", "country": "string", "country_code": "string" }, "status": "string", "comment": "string", "is_super_admin": true, "third_party_sign_up": true, "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "property2": { "value": "string", "type": "string", "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] } } } ], "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "custom_role_slug": "string", "custom_role_name": "string", "level": "string" } ], "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "organisation_number": "string", "organisation_name": "string", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "formatted_address": "string" } ], "customer_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert merchant user tags Source: https://docs.enad.io/management/management-api/reference/merchant-users-v2/upsert-merchant-user-tags Bulk-upserts merchant user to tag relationships. `PUT /api/v2/{team_slug}/{app_slug}/merchant-users/tags` **Request body** (`application/json`, required) - `tags` (MerchantUserTagItem[], required) Request body example: ```json { "tags": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ], "errors": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "email": "string", "message": "string" } ] } ``` --- # Create order lines Source: https://docs.enad.io/management/management-api/reference/orders-v2/create-order-lines Bulk-creates lines for an order. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines` **Request body** (`application/json`, required) - `lines` (CreateOrderLineItem[], required) Request body example: ```json { "lines": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0 } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "line_id": "6cb02bfb-65d4-467b-864d-461e923db664", "message": "string" } ] } ``` --- # Create orders Source: https://docs.enad.io/management/management-api/reference/orders-v2/create-orders Bulk-creates orders. Successful entities are returned in data; per-item failures in errors keyed by id. `POST /api/v2/{team_slug}/{app_slug}/orders` **Request body** (`application/json`, required) - `orders` (CreateOrderItem[], required) Request body example: ```json { "orders": [ { "source": "string", "status": "placed", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "billing_address": { "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string" }, "shipping_address": { "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string" } } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "string", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "billing_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "shipping_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "discounts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "discount_id": "string", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "merchant_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete order lines Source: https://docs.enad.io/management/management-api/reference/orders-v2/delete-order-lines Bulk-deletes lines by line id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines` **Request body** (`application/json`, required) - `lines` (DeleteOrderLineItem[], required) Request body example: ```json { "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "line_id": "6cb02bfb-65d4-467b-864d-461e923db664", "message": "string" } ] } ``` --- # Delete orders Source: https://docs.enad.io/management/management-api/reference/orders-v2/delete-orders Bulk-deletes orders by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/orders` **Request body** (`application/json`, required) - `orders` (DeleteOrderItem[], required) Request body example: ```json { "orders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get order Source: https://docs.enad.io/management/management-api/reference/orders-v2/get-order Gets a single order including its lines. `GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "string", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "billing_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "shipping_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "discounts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "discount_id": "string", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "merchant_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get order metrics Source: https://docs.enad.io/management/management-api/reference/orders-v2/get-order-metrics Returns aggregated sales metrics for the requested range. `GET /api/v2/{team_slug}/{app_slug}/orders/metrics` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "hourly_metrics": [ { "hour": "2019-08-24T14:15:22Z", "order_count": 0, "sales_by_currency": [ { "currency_code": "string", "total_sales_amount": 0, "total_compensated_sales": 0 } ] } ], "daily_metrics": [ { "day": "2019-08-24T14:15:22Z", "order_count": 0, "sales_by_currency": [ { "currency_code": "string", "total_sales_amount": 0, "total_compensated_sales": 0 } ] } ], "total_order_count": 0, "total_sales_by_currency": [ { "currency_code": "string", "total_sales_amount": 0, "total_compensated_sales": 0 } ] } } ``` --- # List order history Source: https://docs.enad.io/management/management-api/reference/orders-v2/list-order-history Lists audit history entries for an order with pagination. `GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}/history` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "change_type": "string", "from_status": "string", "to_status": "string", "happened_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List order lines Source: https://docs.enad.io/management/management-api/reference/orders-v2/list-order-lines Lists lines for an order with pagination. `GET /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List orders Source: https://docs.enad.io/management/management-api/reference/orders-v2/list-orders Lists orders (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/orders` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "string", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "billing_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "shipping_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "discounts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "discount_id": "string", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "merchant_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update order lines Source: https://docs.enad.io/management/management-api/reference/orders-v2/update-order-lines Bulk-patches lines by line id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/orders/{order_id}/lines` **Request body** (`application/json`, required) - `lines` (PatchOrderLineItem[], required) Request body example: ```json { "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0 } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "line_id": "6cb02bfb-65d4-467b-864d-461e923db664", "message": "string" } ] } ``` --- # Update order statuses Source: https://docs.enad.io/management/management-api/reference/orders-v2/update-order-statuses Bulk-changes order statuses. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/orders/status` **Request body** (`application/json`, required) - `orders` (PatchOrderStatusItem[], required) Request body example: ```json { "orders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "placed" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "string", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "billing_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "shipping_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "discounts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "discount_id": "string", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "merchant_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update orders Source: https://docs.enad.io/management/management-api/reference/orders-v2/update-orders Bulk-patches orders by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/orders` **Request body** (`application/json`, required) - `orders` (PatchOrderItem[], required) Request body example: ```json { "orders": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "placed", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "billing_address": { "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string" }, "shipping_address": { "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string" } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": "string", "status": "string", "session_id": "string", "country_code": "string", "currency_code": "string", "language_code": "string", "sub_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "gift_card_total": 0, "bonus_total": 0, "grand_total": 0, "reference": "string", "payment_method_id": "string", "payment_method_name": "string", "payment_method": "string", "shipping_methods": [ "string" ], "lines": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "currency_code": "string", "quantity": 0, "base_price_amount": 0, "total_discount_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "total_price_amount": 0, "product_name": "string", "product_number": "string", "variant_name": "string", "variant_number": "string", "short_description": "string", "first_image_path": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "billing_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "shipping_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "city": "string", "postal_code": "string", "given_name": "string", "family_name": "string", "email": "string", "telephone_number": "string", "address_type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "discounts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "discount_id": "string", "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "merchant_user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "surname": "string", "email": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create organisations Source: https://docs.enad.io/management/management-api/reference/organisations-v2/create-organisations Bulk-creates organisations. Successful entities are returned in data; per-item failures in errors keyed by name. `POST /api/v2/{team_slug}/{app_slug}/organisations` **Request body** (`application/json`, required) - `organisations` (CreateOrganisationItem[], required) Request body example: ```json { "organisations": [ { "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "addresses": [ { "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "comment": "string", "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "comment": "string", "shipping_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "billing_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete organisation address restrictions Source: https://docs.enad.io/management/management-api/reference/organisations-v2/delete-organisation-address-restrictions Bulk-deletes organisation address user restrictions. `DELETE /api/v2/{team_slug}/{app_slug}/organisations/address-restrictions` **Request body** (`application/json`, required) - `address_restrictions` (OrganisationAddressRestrictionItem[], required) Request body example: ```json { "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete organisation tags Source: https://docs.enad.io/management/management-api/reference/organisations-v2/delete-organisation-tags Bulk-deletes organisation to tag relationships. `DELETE /api/v2/{team_slug}/{app_slug}/organisations/tags` **Request body** (`application/json`, required) - `tags` (OrganisationTagItem[], required) Request body example: ```json { "tags": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete organisation users Source: https://docs.enad.io/management/management-api/reference/organisations-v2/delete-organisation-users Bulk-deletes organisation to merchant user relationships. `DELETE /api/v2/{team_slug}/{app_slug}/organisations/users` **Request body** (`application/json`, required) - `users` (OrganisationUserItem[], required) Request body example: ```json { "users": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "level": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "level": "string" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete organisations Source: https://docs.enad.io/management/management-api/reference/organisations-v2/delete-organisations Bulk-deletes organisations by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/organisations` **Request body** (`application/json`, required) - `organisations` (DeleteOrganisationItem[], required) Request body example: ```json { "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get organisation Source: https://docs.enad.io/management/management-api/reference/organisations-v2/get-organisation Gets a single organisation. `GET /api/v2/{team_slug}/{app_slug}/organisations/{org_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "comment": "string", "shipping_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "billing_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # Get organisation tree Source: https://docs.enad.io/management/management-api/reference/organisations-v2/get-organisation-tree Returns the organisation hierarchy rooted at the requested organisation. `GET /api/v2/{team_slug}/{app_slug}/organisations/{org_id}/tree` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "comment": "string", "shipping_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "billing_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "children": [ {} ] } ] } ``` --- # List organisations Source: https://docs.enad.io/management/management-api/reference/organisations-v2/list-organisations Lists organisations (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/organisations` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "comment": "string", "shipping_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "billing_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "total_pages": 0, "total_items": 0 } ``` --- # Update organisations Source: https://docs.enad.io/management/management-api/reference/organisations-v2/update-organisations Bulk-patches organisations by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/organisations` **Request body** (`application/json`, required) - `organisations` (PatchOrganisationItem[], required) Request body example: ```json { "organisations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "addresses": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "comment": "string", "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisation_number": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "credit_check": true, "status": "string", "contact_name": "string", "email": "string", "phone": "string", "tax_id_vat_number": "string", "external_ref": "string", "invoice_email": "string", "custom_fields": { "property1": "string", "property2": "string" }, "comment": "string", "shipping_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "billing_address": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "shipping_type": "string", "name": "string", "company_name": "string", "street_address": "string", "co_address": "string", "city": "string", "state_province": "string", "house_number": "string", "postal_code": "string", "country": "string", "phone": "string", "is_default": true } ], "customer_group_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert organisation address restrictions Source: https://docs.enad.io/management/management-api/reference/organisations-v2/upsert-organisation-address-restrictions Bulk-upserts organisation address user restrictions. `PUT /api/v2/{team_slug}/{app_slug}/organisations/address-restrictions` **Request body** (`application/json`, required) - `address_restrictions` (OrganisationAddressRestrictionItem[], required) Request body example: ```json { "address_restrictions": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert organisation tags Source: https://docs.enad.io/management/management-api/reference/organisations-v2/upsert-organisation-tags Bulk-upserts organisation to tag relationships. `PUT /api/v2/{team_slug}/{app_slug}/organisations/tags` **Request body** (`application/json`, required) - `tags` (OrganisationTagItem[], required) Request body example: ```json { "tags": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert organisation users Source: https://docs.enad.io/management/management-api/reference/organisations-v2/upsert-organisation-users Bulk-upserts organisation to merchant user relationships. `PUT /api/v2/{team_slug}/{app_slug}/organisations/users` **Request body** (`application/json`, required) - `users` (OrganisationUserItem[], required) Request body example: ```json { "users": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "level": "string" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "custom_role_id": "4f5deddb-3218-41fa-acf0-ef42cdc17a8c", "level": "string" } ], "errors": [ { "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create price relay connections Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/create-price-relay-connections Bulk-creates links between source and target rules. `POST /api/v2/{team_slug}/{app_slug}/price-relays/connections` **Request body** (`application/json`, required) - `connections` (PriceRelayConnectionInput[], required) Request body example: ```json { "connections": [ { "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create price relay sources Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/create-price-relay-sources Bulk-creates price relay source rules. Successful entities are returned in data; per-item failures in errors keyed by the rule name. `POST /api/v2/{team_slug}/{app_slug}/price-relays/sources` **Request body** (`application/json`, required) - `sources` (PriceRelaySourceRuleInput[], required) Request body example: ```json { "sources": [ { "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create price relay targets Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/create-price-relay-targets Bulk-creates price relay target rules. Successful entities are returned in data; per-item failures in errors keyed by the rule name. `POST /api/v2/{team_slug}/{app_slug}/price-relays/targets` **Request body** (`application/json`, required) - `targets` (PriceRelayTargetRuleInput[], required) Request body example: ```json { "targets": [ { "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete price relay connections Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/delete-price-relay-connections Bulk-deletes price relay connections by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/price-relays/connections` **Request body** (`application/json`, required) - `connections` (DeletePriceRelayConnectionItem[], required) Request body example: ```json { "connections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete price relay sources Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/delete-price-relay-sources Bulk-deletes price relay source rules by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/price-relays/sources` **Request body** (`application/json`, required) - `sources` (DeletePriceRelaySourceItem[], required) Request body example: ```json { "sources": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete price relay targets Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/delete-price-relay-targets Bulk-deletes price relay target rules by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/price-relays/targets` **Request body** (`application/json`, required) - `targets` (DeletePriceRelayTargetItem[], required) Request body example: ```json { "targets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get price relay connection Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/get-price-relay-connection Gets a single price relay connection. `GET /api/v2/{team_slug}/{app_slug}/price-relays/connections/{connection_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd", "created_at": "2019-08-24T14:15:22Z" } } ``` --- # Get price relay source Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/get-price-relay-source Gets a single price relay source rule. `GET /api/v2/{team_slug}/{app_slug}/price-relays/sources/{rule_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get price relay target Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/get-price-relay-target Gets a single price relay target rule. `GET /api/v2/{team_slug}/{app_slug}/price-relays/targets/{rule_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List price relay connections Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/list-price-relay-connections Lists price relay connections with pagination. `GET /api/v2/{team_slug}/{app_slug}/price-relays/connections` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd", "created_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List price relay sources Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/list-price-relay-sources Lists price relay source rules with pagination. `GET /api/v2/{team_slug}/{app_slug}/price-relays/sources` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List price relay targets Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/list-price-relay-targets Lists price relay target rules with pagination. `GET /api/v2/{team_slug}/{app_slug}/price-relays/targets` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update price relay connections Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/update-price-relay-connections Bulk-patches price relay connections by id. `PATCH /api/v2/{team_slug}/{app_slug}/price-relays/connections` **Request body** (`application/json`, required) - `connections` (PatchPriceRelayConnectionItem[], required) Request body example: ```json { "connections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source_rule_id": "09d16b35-06d8-44f8-b6da-d69d3150a762", "target_rule_id": "c5453367-d20e-4930-9bee-ea095c56ccdd", "created_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update price relay sources Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/update-price-relay-sources Bulk-patches price relay source rules by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/price-relays/sources` **Request body** (`application/json`, required) - `sources` (PatchPriceRelaySourceItem[], required) Request body example: ```json { "sources": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "percentage_of_source": 0, "percentage_of_source_decimals": 0, "store_groups": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "amount_from": "string", "sale_price_from": "string" } ], "relay_on_sale_store_group_id": "56c24a4e-c90d-4e6d-89e7-80ebb30dfbfb", "relay_status_store_group_id": "a00e1b1e-5344-453f-9831-0220193c8c0c", "force_on_sale": true, "tax_country_code": "string", "rounding": { "round_up": true, "round_down": true, "targets": [ "string" ] }, "filters": { "category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "brand_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update price relay targets Source: https://docs.enad.io/management/management-api/reference/price-relays-v2/update-price-relay-targets Bulk-patches price relay target rules by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/price-relays/targets` **Request body** (`application/json`, required) - `targets` (PatchPriceRelayTargetItem[], required) Request body example: ```json { "targets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "name": "string", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "active": true, "aggregation": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create product drafts Source: https://docs.enad.io/management/management-api/reference/product-drafts-v2/bulk-create-product-drafts Bulk-creates product drafts. Successful entities are returned in data; per-item failures in errors keyed by product_id. `POST /api/v2/{team_slug}/{app_slug}/products/drafts` **Request body** (`application/json`, required) - `product_drafts` (CreateProductDraftItem[], required) Request body example: ```json { "product_drafts": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete product drafts Source: https://docs.enad.io/management/management-api/reference/product-drafts-v2/bulk-delete-product-drafts Bulk-deletes product drafts by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/products/drafts` **Request body** (`application/json`, required) - `product_drafts` (ProductDraftIDItem[], required) Request body example: ```json { "product_drafts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Promote product drafts Source: https://docs.enad.io/management/management-api/reference/product-drafts-v2/bulk-promote-product-drafts Bulk-promotes product draft changesets onto their live products. `POST /api/v2/{team_slug}/{app_slug}/products/drafts/promote` **Request body** (`application/json`, required) - `product_drafts` (ProductDraftIDItem[], required) Request body example: ```json { "product_drafts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update product drafts Source: https://docs.enad.io/management/management-api/reference/product-drafts-v2/bulk-update-product-drafts Bulk-patches product drafts by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/products/drafts` **Request body** (`application/json`, required) - `product_drafts` (PatchProductDraftItem[], required) Request body example: ```json { "product_drafts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # List product drafts Source: https://docs.enad.io/management/management-api/reference/product-drafts-v2/list-product-drafts Lists product drafts with pagination. `GET /api/v2/{team_slug}/{app_slug}/products/drafts` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "changeset": { "name": "string", "description": "string", "html_description": "string", "short_description": "string", "html_short_description": "string", "meta_title": "string", "meta_description": "string", "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "order": 0, "is_main_category": true } ], "collections": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "tags": [ { "key": "string", "order": 0 } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "priority": 0 } ], "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "publish_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Create products Source: https://docs.enad.io/management/management-api/reference/products-v2/bulk-create-products Bulk-creates products. Successful entities are returned in data; per-item failures in errors keyed by product_number. `POST /api/v2/{team_slug}/{app_slug}/products` **Request body** (`application/json`, required) - `products` (CreateProductItem[], required) Request body example: ```json { "products": [ { "product_name": "string", "product_number": "string", "slug": "string", "status": "active", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "custom_fields": { "property1": "string", "property2": "string" }, "exclude_from_feeds": true, "product_type": "simple", "market_status": [ { "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_slug": "string", "store_group_slug": "string", "status": "active" } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "market_status": [ { "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete products Source: https://docs.enad.io/management/management-api/reference/products-v2/bulk-delete-products Bulk-deletes products by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/products` **Request body** (`application/json`, required) - `product_ids` (UUID[], required) Request body example: ```json { "product_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "product_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Duplicate products Source: https://docs.enad.io/management/management-api/reference/products-v2/bulk-duplicate-products Bulk-duplicates products. Successful entities are returned in data; per-item failures in errors keyed by product_number. `POST /api/v2/{team_slug}/{app_slug}/products/duplicate` **Request body** (`application/json`, required) - `products` (DuplicateProductItem[], required) Request body example: ```json { "products": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_number": "string" } ] } ``` **Responses** - `201` — Duplicated (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "market_status": [ { "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Soft-delete products Source: https://docs.enad.io/management/management-api/reference/products-v2/bulk-soft-delete-products Bulk soft-deletes products by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/products/soft-delete` **Request body** (`application/json`, required) - `products` (ProductIDItem[], required) Request body example: ```json { "products": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — Soft-deleted (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "market_status": [ { "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update products Source: https://docs.enad.io/management/management-api/reference/products-v2/bulk-update-products Bulk-patches products by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/products` **Request body** (`application/json`, required) - `products` (PatchProductItem[], required) Request body example: ```json { "products": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "active", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "custom_fields": { "property1": "string", "property2": "string" }, "exclude_from_feeds": true, "product_type": "simple", "market_status": [ { "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_slug": "string", "store_group_slug": "string", "status": "active" } ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "market_status": [ { "market": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "store_group": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" }, "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "product_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get product Source: https://docs.enad.io/management/management-api/reference/products-v2/get-product Gets a single product with references to categories, tags, collections, media, variant groups, variants, attributes, markets, statuses, translations and brand series. `GET /api/v2/{team_slug}/{app_slug}/products/{product_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "brand": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "series": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } }, "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string", "is_main_category": true } ], "collections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string" } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "files": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ] } ], "relations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string" } ], "third_party_links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "market_status": [ { "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_slug": "string", "store_group_slug": "string", "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # Get product by product number Source: https://docs.enad.io/management/management-api/reference/products-v2/get-product-by-product-number Gets a single product by its product number. `GET /api/v2/{team_slug}/{app_slug}/products/sku/{product_number}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "brand": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "series": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } }, "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string", "is_main_category": true } ], "collections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string" } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "files": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ] } ], "relations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string" } ], "third_party_links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "market_status": [ { "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_slug": "string", "store_group_slug": "string", "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List products Source: https://docs.enad.io/management/management-api/reference/products-v2/list-products Lists products (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/products` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "meta_title": "string", "meta_description": "string", "html_description": "string", "html_short_description": "string", "description": "string", "short_description": "string", "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "product_type": "string", "exclude_from_feeds": true, "product_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "package_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "brand": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "series": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } }, "categories": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string", "is_main_category": true } ], "collections": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "uri": "string", "title": "string" } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "files": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ] } ], "third_party_links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "market_status": [ { "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_slug": "string", "store_group_slug": "string", "status": "active" } ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "string" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Create redirects Source: https://docs.enad.io/management/management-api/reference/redirects-v2/create-redirects Bulk-creates redirects. Successful entities are returned in data; per-item failures in errors keyed by item_id, old_slug and locale. `POST /api/v2/{team_slug}/{app_slug}/redirects` **Request body** (`application/json`, required) - `redirects` (CreateRedirectItem[], required) Request body example: ```json { "redirects": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "category", "locale": "string" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "string", "locale": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "locale": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete redirects Source: https://docs.enad.io/management/management-api/reference/redirects-v2/delete-redirects Bulk-deletes redirects by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/redirects` **Request body** (`application/json`, required) - `redirects` (DeleteRedirectItem[], required) Request body example: ```json { "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "locale": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get redirect Source: https://docs.enad.io/management/management-api/reference/redirects-v2/get-redirect Gets a single redirect. `GET /api/v2/{team_slug}/{app_slug}/redirects/{redirect_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "string", "locale": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List redirects Source: https://docs.enad.io/management/management-api/reference/redirects-v2/list-redirects Lists redirects (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/redirects` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "string", "locale": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update redirects Source: https://docs.enad.io/management/management-api/reference/redirects-v2/update-redirects Bulk-patches redirects by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/redirects` **Request body** (`application/json`, required) - `redirects` (PatchRedirectItem[], required) Request body example: ```json { "redirects": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "category", "locale": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "new_slug": "string", "type": "string", "locale": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "old_slug": "string", "locale": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create relation types Source: https://docs.enad.io/management/management-api/reference/relations-v2/create-relation-types Bulk-creates relation types. Successful entities are returned in data; per-item failures in errors keyed by title. `POST /api/v2/{team_slug}/{app_slug}/relations/types` **Request body** (`application/json`, required) - `relation_types` (CreateRelationTypeItem[], required) Request body example: ```json { "relation_types": [ { "title": "string", "type": "string" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create relations Source: https://docs.enad.io/management/management-api/reference/relations-v2/create-relations Bulk-creates relations. Successful entities are returned in data; per-item failures in errors keyed by title. `POST /api/v2/{team_slug}/{app_slug}/relations` **Request body** (`application/json`, required) - `relations` (CreateRelationItem[], required) Request body example: ```json { "relations": [ { "title": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "one_way", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "string", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7", "products": [ { "id": "string", "product_name": "string", "description": "string", "product_number": "string", "slug": "string", "image_url": "string" } ] } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete relations products Source: https://docs.enad.io/management/management-api/reference/relations-v2/delete-relation-products Bulk-deletes product-to-relation relationships. `DELETE /api/v2/{team_slug}/{app_slug}/relations/products` **Request body** (`application/json`, required) - `products` (RelationProductLink[], required) Request body example: ```json { "products": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ], "errors": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Delete relation types Source: https://docs.enad.io/management/management-api/reference/relations-v2/delete-relation-types Bulk-deletes relation types by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/relations/types` **Request body** (`application/json`, required) - `relation_types` (DeleteRelationTypeItem[], required) Request body example: ```json { "relation_types": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete relations Source: https://docs.enad.io/management/management-api/reference/relations-v2/delete-relations Bulk-deletes relations by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/relations` **Request body** (`application/json`, required) - `relations` (DeleteRelationItem[], required) Request body example: ```json { "relations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get relation Source: https://docs.enad.io/management/management-api/reference/relations-v2/get-relation Gets a single relation including its products. `GET /api/v2/{team_slug}/{app_slug}/relations/{relation_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "string", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7", "products": [ { "id": "string", "product_name": "string", "description": "string", "product_number": "string", "slug": "string", "image_url": "string" } ] } } ``` --- # Get relation type Source: https://docs.enad.io/management/management-api/reference/relations-v2/get-relation-type Gets a single relation type. `GET /api/v2/{team_slug}/{app_slug}/relations/types/{relation_type_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List relation types Source: https://docs.enad.io/management/management-api/reference/relations-v2/list-relation-types Lists relation types (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/relations/types` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List relations Source: https://docs.enad.io/management/management-api/reference/relations-v2/list-relations Lists relations (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/relations` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "string", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update relation types Source: https://docs.enad.io/management/management-api/reference/relations-v2/update-relation-types Bulk-patches relation types by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/relations/types` **Request body** (`application/json`, required) - `relation_types` (PatchRelationTypeItem[], required) Request body example: ```json { "relation_types": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update relations Source: https://docs.enad.io/management/management-api/reference/relations-v2/update-relations Bulk-patches relations by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/relations` **Request body** (`application/json`, required) - `relations` (PatchRelationItem[], required) Request body example: ```json { "relations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "one_way", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "type": "string", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "direction": "string", "primary_product_id": "7a85a404-d868-4693-9493-c9cd5be375b7", "products": [ { "id": "string", "product_name": "string", "description": "string", "product_number": "string", "slug": "string", "image_url": "string" } ] } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert relations products Source: https://docs.enad.io/management/management-api/reference/relations-v2/upsert-relation-products Bulk-upserts product-to-relation relationships. `PUT /api/v2/{team_slug}/{app_slug}/relations/products` **Request body** (`application/json`, required) - `products` (RelationProductLink[], required) Request body example: ```json { "products": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1" } ], "errors": [ { "relation_id": "db83d865-cb76-4d51-8e9b-097dfcf4e259", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "message": "string" } ] } ``` --- # Create scheduled jobs Source: https://docs.enad.io/management/management-api/reference/schedule-v2/create-scheduled-jobs Bulk-creates scheduled jobs. Successful entities are returned in data; per-item failures in errors keyed by item_id. `POST /api/v2/{team_slug}/{app_slug}/schedule` **Request body** (`application/json`, required) - `jobs` (CreateScheduleJobItem[], required) Request body example: ```json { "jobs": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "execute_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create scheduling groups Source: https://docs.enad.io/management/management-api/reference/schedule-v2/create-scheduling-groups Bulk-creates scheduling groups. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/schedule/groups` **Request body** (`application/json`, required) - `groups` (CreateScheduleGroupItem[], required) Request body example: ```json { "groups": [ { "name": "string", "jobs": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "execute_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f" } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "created_at": "2019-08-24T14:15:22Z", "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete scheduled jobs Source: https://docs.enad.io/management/management-api/reference/schedule-v2/delete-scheduled-jobs Bulk-deletes scheduled jobs by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/schedule` **Request body** (`application/json`, required) - `jobs` (DeleteScheduleJobItem[], required) Request body example: ```json { "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete scheduling groups Source: https://docs.enad.io/management/management-api/reference/schedule-v2/delete-scheduling-groups Bulk-deletes scheduling groups by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/schedule/groups` **Request body** (`application/json`, required) - `groups` (DeleteScheduleGroupItem[], required) Request body example: ```json { "groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get scheduling group Source: https://docs.enad.io/management/management-api/reference/schedule-v2/get-scheduling-group Gets a single scheduling group including its jobs. `GET /api/v2/{team_slug}/{app_slug}/schedule/groups/{group_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "created_at": "2019-08-24T14:15:22Z", "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } } ``` --- # List scheduled jobs Source: https://docs.enad.io/management/management-api/reference/schedule-v2/list-scheduled-jobs Lists scheduled jobs with pagination and execute-at/status filters. `GET /api/v2/{team_slug}/{app_slug}/schedule` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "to_status": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # List scheduling groups Source: https://docs.enad.io/management/management-api/reference/schedule-v2/list-scheduling-groups Lists scheduling groups with pagination. `GET /api/v2/{team_slug}/{app_slug}/schedule/groups` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "created_at": "2019-08-24T14:15:22Z", "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "total_pages": 0, "total_items": 0 } ``` --- # Update scheduled jobs Source: https://docs.enad.io/management/management-api/reference/schedule-v2/update-scheduled-jobs Bulk-patches scheduled jobs by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/schedule` **Request body** (`application/json`, required) - `jobs` (PatchScheduleJobItem[], required) Request body example: ```json { "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "execute_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update scheduling groups Source: https://docs.enad.io/management/management-api/reference/schedule-v2/update-scheduling-groups Bulk-patches scheduling groups by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/schedule/groups` **Request body** (`application/json`, required) - `groups` (PatchScheduleGroupItem[], required) Request body example: ```json { "groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "created_at": "2019-08-24T14:15:22Z", "jobs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "item_name": "string", "execute_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "to_status": "string", "add_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_tag_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_category_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "add_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "remove_collection_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "to_amount_cents_with_tax": 0, "to_sale_amount_cents_with_tax": 0, "to_on_sale": true, "to_market_id": "0934fc5b-84c6-4c9a-8661-3385966d0768", "to_store_group_id": "486fb14a-80df-44a1-ad6f-386496b52f2f", "to_market_status": "string", "to_start_sale_timestamp": "2019-08-24T14:15:22Z", "to_stop_sale_timestamp": "2019-08-24T14:15:22Z", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ] } ], "errors": [ { "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create smart listings Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/create-smart-listings Bulk-creates smart listings. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/smart-listings` **Request body** (`application/json`, required) - `smart_listings` (CreateSmartListingItem[], required) Request body example: ```json { "smart_listings": [ { "slug": "string", "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete smart listings Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/delete-smart-listings Bulk-deletes smart listings by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/smart-listings` **Request body** (`application/json`, required) - `smart_listings` (DeleteSmartListingItem[], required) Request body example: ```json { "smart_listings": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get smart listing Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/get-smart-listing Gets a single smart listing including its rules. `GET /api/v2/{team_slug}/{app_slug}/smart-listings/{listing_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } } ``` --- # List smart listings Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/list-smart-listings Lists smart listings (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/smart-listings` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Preview smart listing Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/preview-smart-listing Read-only evaluation of rules. Returns the variants that match; nothing is written. `POST /api/v2/{team_slug}/{app_slug}/smart-listings/preview` **Request body** (`application/json`, required) - `rules` (SmartListingRule[], required) Request body example: ```json { "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } ``` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" }, "image_urls": [ "string" ], "total_stock": 0, "category_slugs": [ "string" ] } ] } ``` --- # Update smart listings Source: https://docs.enad.io/management/management-api/reference/smart-listings-v2/update-smart-listings Bulk-patches smart listings by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/smart-listings` **Request body** (`application/json`, required) - `smart_listings` (PatchSmartListingItem[], required) Request body example: ```json { "smart_listings": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target": "stock", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "operator": "less-than", "value_string": "string", "value_list": [ "string" ], "value_float": 0 } ] } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Add static listing items Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/add-static-listing-items Bulk-adds product variants to a static listing. Already-listed variants are kept. Successful variant ids are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}/items` **Request body** (`application/json`, required) - `items` (AddStaticListingVariantItem[], required) Request body example: ```json { "items": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6" } ] } ``` **Responses** - `201` — Added (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6" } ], "errors": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "message": "string" } ] } ``` --- # Create static listings Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/create-static-listings Bulk-creates static listings. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/static-listings` **Request body** (`application/json`, required) - `static_listings` (CreateStaticListingItem[], required) Request body example: ```json { "static_listings": [ { "slug": "string", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" } } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" } } ] } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete static listing items Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/delete-static-listing-items Bulk-removes product variants from a static listing. Removed variant ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}/items` **Request body** (`application/json`, required) - `items` (DeleteStaticListingVariantItem[], required) Request body example: ```json { "items": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6" } ], "errors": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "message": "string" } ] } ``` --- # Delete static listings Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/delete-static-listings Bulk-deletes static listings by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/static-listings` **Request body** (`application/json`, required) - `static_listings` (DeleteStaticListingItem[], required) Request body example: ```json { "static_listings": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get static listing Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/get-static-listing Gets a single static listing including its variants. `GET /api/v2/{team_slug}/{app_slug}/static-listings/{listing_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" } } ] } } ``` --- # List static listings Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/list-static-listings Lists static listings (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/static-listings` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update static listings Source: https://docs.enad.io/management/management-api/reference/static-listings-v2/update-static-listings Bulk-patches static listings by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/static-listings` **Request body** (`application/json`, required) - `static_listings` (PatchStaticListingItem[], required) Request body example: ```json { "static_listings": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" } } ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "product_name": "string", "variant_number": "string", "custom_fields": { "property1": "string", "property2": "string" } } ] } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create store groups Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/create-store-groups Bulk-creates store groups. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/store-groups` **Request body** (`application/json`, required) - `store_groups` (CreateStoreGroupItem[], required) Request body example: ```json { "store_groups": [ { "name": "string", "slug": "string", "store_type": "string", "description": "string", "country_of_sale": "string" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "store_type": "string", "country_of_sale": "string", "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete store group markets Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/delete-store-group-markets Bulk-deletes store-group-to-market relationships. `DELETE /api/v2/{team_slug}/{app_slug}/store-groups/markets` **Request body** (`application/json`, required) - `markets` (StoreGroupMarketLink[], required) Request body example: ```json { "markets": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ], "errors": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Delete store groups Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/delete-store-groups Bulk-deletes store groups by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/store-groups` **Request body** (`application/json`, required) - `store_groups` (DeleteStoreGroupItem[], required) Request body example: ```json { "store_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get store group Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/get-store-group Gets a single store group including its markets. `GET /api/v2/{team_slug}/{app_slug}/store-groups/{store_group_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "store_type": "string", "country_of_sale": "string", "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List store groups Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/list-store-groups Lists store groups (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/store-groups` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_type": "string", "country_of_sale": "string", "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update store groups Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/update-store-groups Bulk-patches store groups by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/store-groups` **Request body** (`application/json`, required) - `store_groups` (PatchStoreGroupItem[], required) Request body example: ```json { "store_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "store_type": "string", "description": "string", "country_of_sale": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "store_type": "string", "country_of_sale": "string", "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert store group markets Source: https://docs.enad.io/management/management-api/reference/store-groups-v2/upsert-store-group-markets Bulk-upserts store-group-to-market relationships. `PUT /api/v2/{team_slug}/{app_slug}/store-groups/markets` **Request body** (`application/json`, required) - `markets` (StoreGroupMarketLink[], required) Request body example: ```json { "markets": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ], "errors": [ { "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Create tags Source: https://docs.enad.io/management/management-api/reference/tags-v2/create-tags Bulk-creates tags. Successful entities are returned in data; per-item failures in errors keyed by the tag key. `POST /api/v2/{team_slug}/{app_slug}/tags` **Request body** (`application/json`, required) - `tags` (CreateTagItem[], required) Request body example: ```json { "tags": [ { "key": "string", "name": "string", "status": "active", "filterable": true, "market_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete tags relationships Source: https://docs.enad.io/management/management-api/reference/tags-v2/delete-tag-relationships Bulk-deletes tag relationships from a product, variant or variant group. Each item names the target with item_id plus item_type. `DELETE /api/v2/{team_slug}/{app_slug}/tags/relationships` **Request body** (`application/json`, required) - `relationships` (DeleteTagRelationshipItem[], required) Request body example: ```json { "relationships": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "order": 0 } ], "errors": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "message": "string" } ] } ``` --- # Delete tags Source: https://docs.enad.io/management/management-api/reference/tags-v2/delete-tags Bulk-deletes tags by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/tags` **Request body** (`application/json`, required) - `tags` (DeleteTagItem[], required) Request body example: ```json { "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get tag Source: https://docs.enad.io/management/management-api/reference/tags-v2/get-tag Gets a single tag including translations, attributes, markets and schedules. `GET /api/v2/{team_slug}/{app_slug}/tags/{tag_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List tags Source: https://docs.enad.io/management/management-api/reference/tags-v2/list-tags Lists tags with pagination. Each tag includes its markets, attributes and translations. `GET /api/v2/{team_slug}/{app_slug}/tags` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update tags Source: https://docs.enad.io/management/management-api/reference/tags-v2/update-tags Bulk-patches tags by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/tags` **Request body** (`application/json`, required) - `tags` (PatchTagItem[], required) Request body example: ```json { "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "active", "filterable": true, "market_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "string", "filterable": true, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "key": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert tags relationships Source: https://docs.enad.io/management/management-api/reference/tags-v2/upsert-tag-relationships Bulk-upserts tag relationships to a product, variant or variant group. Each item names the target with item_id plus item_type (product, variant or variant_group). `PUT /api/v2/{team_slug}/{app_slug}/tags/relationships` **Request body** (`application/json`, required) - `relationships` (UpsertTagRelationshipItem[], required) Request body example: ```json { "relationships": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "order": 0 } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "order": 0 } ], "errors": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "product", "message": "string" } ] } ``` --- # Create tax groups Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/create-tax-groups Bulk-creates tax groups. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/tax-groups` **Request body** (`application/json`, required) - `tax_groups` (CreateTaxGroupItem[], required) Request body example: ```json { "tax_groups": [ { "name": "string", "slug": "string", "description": "string", "is_default": true } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "is_default": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "tax_percentage": 0.1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete tax group markets Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/delete-tax-group-markets Bulk-deletes tax-group-to-market relationships. `DELETE /api/v2/{team_slug}/{app_slug}/tax-groups/markets` **Request body** (`application/json`, required) - `markets` (TaxGroupMarketLink[], required) Request body example: ```json { "markets": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "country_tax_percentages": [ { "country_code": "string", "tax_percentage": 0 } ] } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "country_tax_percentages": [ { "country_code": "string", "tax_percentage": 0 } ] } ], "errors": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Delete tax groups Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/delete-tax-groups Bulk-deletes tax groups by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/tax-groups` **Request body** (`application/json`, required) - `tax_groups` (DeleteTaxGroupItem[], required) Request body example: ```json { "tax_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get tax group Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/get-tax-group Gets a single tax group including its markets and country tax percentages. `GET /api/v2/{team_slug}/{app_slug}/tax-groups/{tax_group_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "is_default": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "tax_percentage": 0.1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List tax groups Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/list-tax-groups Lists tax groups (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/tax-groups` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "is_default": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "tax_percentage": 0.1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update tax groups Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/update-tax-groups Bulk-patches tax groups by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/tax-groups` **Request body** (`application/json`, required) - `tax_groups` (PatchTaxGroupItem[], required) Request body example: ```json { "tax_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "is_default": true } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "is_default": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "locale": "string", "currency_code": "string", "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "country_code": "string", "tax_percentage": 0.1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert tax group markets Source: https://docs.enad.io/management/management-api/reference/tax-groups-v2/upsert-tax-group-markets Bulk-upserts tax-group-to-market relationships. `PUT /api/v2/{team_slug}/{app_slug}/tax-groups/markets` **Request body** (`application/json`, required) - `markets` (TaxGroupMarketLink[], required) Request body example: ```json { "markets": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "country_tax_percentages": [ { "country_code": "string", "tax_percentage": 0 } ] } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "country_tax_percentages": [ { "country_code": "string", "tax_percentage": 0 } ] } ], "errors": [ { "tax_group_id": "4496f79f-aa1a-4128-84f5-5c1c0836a341", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Create third party links Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/create-third-party-links Bulk-creates third party links. Successful entities are returned in data; per-item failures in errors keyed by title. `POST /api/v2/{team_slug}/{app_slug}/third-party-links` **Request body** (`application/json`, required) - `third_party_links` (CreateThirdPartyLinkItem[], required) Request body example: ```json { "third_party_links": [ { "type": "string", "title": "string", "url": "string" } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete third party link items Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/delete-third-party-link-items Bulk-deletes third party link-to-item relationships. `DELETE /api/v2/{team_slug}/{app_slug}/third-party-links/items` **Request body** (`application/json`, required) - `items` (ThirdPartyLinkItem[], required) Request body example: ```json { "items": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Delete third party links Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/delete-third-party-links Bulk-deletes third party links by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/third-party-links` **Request body** (`application/json`, required) - `third_party_links` (DeleteThirdPartyLinkItem[], required) Request body example: ```json { "third_party_links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get third party link Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/get-third-party-link Gets a single third party link. `GET /api/v2/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List third party links Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/list-third-party-links Lists third party links (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/third-party-links` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update third party links Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/update-third-party-links Bulk-patches third party links by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/third-party-links` **Request body** (`application/json`, required) - `third_party_links` (PatchThirdPartyLinkItem[], required) Request body example: ```json { "third_party_links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string" } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert third party link items Source: https://docs.enad.io/management/management-api/reference/third-party-links-v2/upsert-third-party-link-items Bulk-upserts third party link-to-item relationships. `PUT /api/v2/{team_slug}/{app_slug}/third-party-links/items` **Request body** (`application/json`, required) - `items` (ThirdPartyLinkItem[], required) Request body example: ```json { "items": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c" } ], "errors": [ { "third_party_link_id": "cdaeffef-56fc-4f1c-905c-0a67e80e0f9b", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "message": "string" } ] } ``` --- # Create translations Source: https://docs.enad.io/management/management-api/reference/translations-v2/create-translations Bulk-inserts translations. Successful entities are returned in data; per-item failures in errors keyed by ref_id, locale and field. `POST /api/v2/{team_slug}/{app_slug}/translations` **Request body** (`application/json`, required) - `translations` (CreateTranslationItem[], required) Request body example: ```json { "translations": [ { "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "product", "field": "string", "locale": "string", "value": "string", "create_slug": true } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "string", "field": "string", "locale": "string", "value": "string" } ], "errors": [ { "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "locale": "string", "field": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete translations Source: https://docs.enad.io/management/management-api/reference/translations-v2/delete-translations Bulk-deletes translations by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/translations` **Request body** (`application/json`, required) - `translations` (DeleteTranslationItem[], required) Request body example: ```json { "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "locale": "string", "field": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get translation Source: https://docs.enad.io/management/management-api/reference/translations-v2/get-translation Gets a single translation. `GET /api/v2/{team_slug}/{app_slug}/translations/{translation_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "string", "field": "string", "locale": "string", "value": "string" } } ``` --- # List translations Source: https://docs.enad.io/management/management-api/reference/translations-v2/list-translations Lists translations (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/translations` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "string", "field": "string", "locale": "string", "value": "string" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update translations Source: https://docs.enad.io/management/management-api/reference/translations-v2/update-translations Bulk-updates translations by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/translations` **Request body** (`application/json`, required) - `translations` (PatchTranslationItem[], required) Request body example: ```json { "translations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "product", "field": "string", "locale": "string", "value": "string", "create_slug": true } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "parent_type": "string", "field": "string", "locale": "string", "value": "string" } ], "errors": [ { "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34", "locale": "string", "field": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Create variant groups Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/bulk-create-variant-groups Bulk-creates variant groups. Successful entities are returned in data; per-item failures in errors keyed by name and product_id. `POST /api/v2/{team_slug}/{app_slug}/products/variant-groups` **Request body** (`application/json`, required) - `variant_groups` (CreateVariantGroupItem[], required) Request body example: ```json { "variant_groups": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "name": "string", "slug": "string", "description": "string", "status": "active", "priority": 0, "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "status": "active" } ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "priority": 0, "status": "active", "attributes": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "active" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "active" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete product variant group templates Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/bulk-delete-variant-group-templates Bulk-deletes the variant group templates of a product. `DELETE /api/v2/{team_slug}/{app_slug}/products/variant-groups/templates` **Request body** (`application/json`, required) - `variant_groups` (VariantGroupIDItem[], required) Request body example: ```json { "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete variant groups Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/bulk-delete-variant-groups Bulk-deletes variant groups by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/products/variant-groups` **Request body** (`application/json`, required) - `variant_groups` (VariantGroupIDItem[], required) Request body example: ```json { "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "name": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert product variant group templates Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/bulk-put-variant-group-templates Bulk-upserts the variant group templates of a product. `PUT /api/v2/{team_slug}/{app_slug}/products/variant-groups/templates` **Request body** (`application/json`, required) - `variant_groups` (VariantGroupTemplateItem[], required) Request body example: ```json { "variant_groups": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "name": "string", "slug": "string", "description": "string", "status": "active", "priority": 0, "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "priority": 0, "status": "active", "attributes": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "active" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "active" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update variant groups Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/bulk-update-variant-groups Bulk-patches variant groups by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/products/variant-groups` **Request body** (`application/json`, required) - `variant_groups` (PatchVariantGroupItem[], required) Request body example: ```json { "variant_groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "status": "active", "priority": 0, "attributes": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "status": "active" } ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "priority": 0, "status": "active", "attributes": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "active" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "active" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "name": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get variant group Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/get-variant-group Gets a single variant group including attributes, variants, translations and channel statuses. `GET /api/v2/{team_slug}/{app_slug}/products/variant-groups/{variant_group_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "priority": 0, "status": "active", "attributes": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "active" } ], "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "slug": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ], "description": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "channel_statuses": [ { "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "channel_slug": "string", "status": "active" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List variant groups Source: https://docs.enad.io/management/management-api/reference/variant-groups-v2/list-variant-groups Lists variant groups with their attributes, images, tags and videos. Filter by one or more product ids with the repeatable product-id query parameter. Filter by tags or attributes attached to the variant group with the repeatable tag-id and attribute-id query parameters. `GET /api/v2/{team_slug}/{app_slug}/products/variant-groups` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "priority": 0, "status": "active", "attributes": [ { "attribute_id": "ef88e6be-6132-42c9-abcd-a9aadce04df6", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string" } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Create variants Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-create-variants Bulk-creates variants. Successful entities are returned in data; per-item failures in errors. `POST /api/v2/{team_slug}/{app_slug}/products/variants` **Request body** (`application/json`, required) - `variants` (CreateVariantItem[], required) Request body example: ```json { "variants": [ { "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_name": "string", "variant_number": "string", "status": "active", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "stock": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "quantity": 0 } ], "shipping_attributes": [ "string" ] } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ], "warehouse_stock": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "warehouse_name": "string", "warehouse_slug": "string", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z", "available_online": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "listings": { "smart": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ], "static": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ] }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete variant prices Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-delete-variant-prices Bulk-deletes variant store group prices by id. `DELETE /api/v2/{team_slug}/{app_slug}/products/variants/prices` **Request body** (`application/json`, required) - `price_ids` (UUID[], required) Request body example: ```json { "price_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete variants Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-delete-variants Bulk-deletes variants by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/products/variants` **Request body** (`application/json`, required) - `variants` (VariantIDItem[], required) Request body example: ```json { "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete variants stock Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-delete-variants-stock Bulk-deletes variant warehouse stock by variant_id and warehouse_id. `DELETE /api/v2/{team_slug}/{app_slug}/products/variants/stock` **Request body** (`application/json`, required) - `stock` (VariantStockRefItem[], required) Request body example: ```json { "stock": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Diff variants stock Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-diff-variants-stock Bulk-applies a delta on top of the current variant warehouse stock quantity. `POST /api/v2/{team_slug}/{app_slug}/products/variants/stock/diff` **Request body** (`application/json`, required) - `stock` (VariantStockDiffItem[], required) Request body example: ```json { "stock": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "diff": 0 } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ], "warehouse_stock": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "warehouse_name": "string", "warehouse_slug": "string", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z", "available_online": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "listings": { "smart": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ], "static": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ] }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert variant prices Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-put-variant-prices Bulk-creates or updates variant store group prices. `PUT /api/v2/{team_slug}/{app_slug}/products/variants/prices` **Request body** (`application/json`, required) - `dont_update_price_if_on_sale` (boolean) - `prices` (VariantPriceItem[], required) Request body example: ```json { "dont_update_price_if_on_sale": true, "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Set variants stock Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-set-variants-stock Bulk-upserts variant warehouse stock by variant_id and warehouse_id. `PUT /api/v2/{team_slug}/{app_slug}/products/variants/stock` **Request body** (`application/json`, required) - `stock` (VariantStockItem[], required) Request body example: ```json { "stock": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ], "warehouse_stock": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "warehouse_name": "string", "warehouse_slug": "string", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z", "available_online": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "listings": { "smart": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ], "static": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ] }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update variant prices Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-update-variant-prices Bulk-patches variant store group prices by id. `PATCH /api/v2/{team_slug}/{app_slug}/products/variants/prices` **Request body** (`application/json`, required) - `prices` (VariantPricePatchItem[], required) Request body example: ```json { "prices": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Update variants Source: https://docs.enad.io/management/management-api/reference/variants-v2/bulk-update-variants Bulk-patches variants by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/products/variants` **Request body** (`application/json`, required) - `variants` (PatchVariantItem[], required) Request body example: ```json { "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "active", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ] } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ], "warehouse_stock": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "warehouse_name": "string", "warehouse_slug": "string", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z", "available_online": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "listings": { "smart": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ], "static": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ] }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "variant_number": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get variant Source: https://docs.enad.io/management/management-api/reference/variants-v2/get-variant Gets a single variant including stock, prices, dimensions and custom fields. `GET /api/v2/{team_slug}/{app_slug}/products/variants/{variant_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "variant_group_id": "165b9130-4dfe-4a17-99a4-9e5031dcac26", "validate_stock": true, "purchase_price": { "currency": "string", "value_cents": 0 }, "variant_dimensions": { "width": 0, "height": 0, "length": 0, "depth": 0, "weight": 0, "diameter": 0, "capacity_milliliter": 0 }, "custom_fields": { "property1": "string", "property2": "string" }, "shipping_attributes": [ "string" ], "warehouse_stock": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "warehouse_name": "string", "warehouse_slug": "string", "quantity": 0, "inventory_date": "2019-08-24T14:15:22Z", "available_online": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "images": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string", "priority": 0 } ], "videos": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "title": "string" } ], "attributes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "template_key": "string", "template_name": "string", "name": "string", "description": "string", "filterable": true, "translatable": true, "values": { "property1": "string", "property2": "string" } } ], "prices": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "store_group_id": "6c760e36-a704-4b09-93bb-c191a46ca67f", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "amount_cents_with_tax": 0, "sale_price_cents_with_tax": 0, "reference_price_cents_with_tax": 0, "on_sale": true, "status": "active", "sale_start_timestamp": "2019-08-24T14:15:22Z", "sale_end_timestamp": "2019-08-24T14:15:22Z" } ], "listings": { "smart": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ], "static": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string" } ] }, "translations": { "name": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locale": "string", "value": "string" } ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List variants Source: https://docs.enad.io/management/management-api/reference/variants-v2/list-variants Lists variants (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/products/variants` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "variant_name": "string", "variant_number": "string", "status": "string", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Create warehouses Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/create-warehouses Bulk-creates warehouses. Successful entities are returned in data; per-item failures in errors keyed by slug. `POST /api/v2/{team_slug}/{app_slug}/warehouses` **Request body** (`application/json`, required) - `warehouses` (CreateWarehouseItem[], required) Request body example: ```json { "warehouses": [ { "name": "string", "slug": "string", "available_online": true, "address": { "street_address": "string", "city": "string", "state": "string", "country": "string", "postal_code": "string" } } ] } ``` **Responses** - `201` — Created (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 201: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "available_online": true, "address": { "street_address": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Delete warehouse markets Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/delete-warehouse-markets Bulk-deletes warehouse-to-market relationships. `DELETE /api/v2/{team_slug}/{app_slug}/warehouses/markets` **Request body** (`application/json`, required) - `markets` (WarehouseMarketLink[], required) Request body example: ```json { "markets": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ], "errors": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Delete warehouses Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/delete-warehouses Bulk-deletes warehouses by id. Deleted ids are returned in data; per-item failures in errors. `DELETE /api/v2/{team_slug}/{app_slug}/warehouses` **Request body** (`application/json`, required) - `warehouses` (DeleteWarehouseItem[], required) Request body example: ```json { "warehouses": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Get warehouse Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/get-warehouse Gets a single warehouse. `GET /api/v2/{team_slug}/{app_slug}/warehouses/{warehouse_id}` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `404` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "available_online": true, "address": { "street_address": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } } ``` --- # List warehouses Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/list-warehouses Lists warehouses (minimal fields) with pagination. `GET /api/v2/{team_slug}/{app_slug}/warehouses` **Responses** - `200` — OK - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "available_online": true, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total_pages": 0, "total_items": 0 } ``` --- # Update warehouses Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/update-warehouses Bulk-patches warehouses by id. Successful entities are returned in data; per-item failures in errors. `PATCH /api/v2/{team_slug}/{app_slug}/warehouses` **Request body** (`application/json`, required) - `warehouses` (PatchWarehouseItem[], required) Request body example: ```json { "warehouses": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "available_online": true, "address": { "street_address": "string", "city": "string", "state": "string", "country": "string", "postal_code": "string" } } ] } ``` **Responses** - `200` — Patched (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "available_online": true, "address": { "street_address": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "markets": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ { "slug": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message": "string" } ] } ``` --- # Upsert warehouse markets Source: https://docs.enad.io/management/management-api/reference/warehouses-v2/upsert-warehouse-markets Bulk-upserts warehouse-to-market relationships. `PUT /api/v2/{team_slug}/{app_slug}/warehouses/markets` **Request body** (`application/json`, required) - `markets` (WarehouseMarketLink[], required) Request body example: ```json { "markets": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ] } ``` **Responses** - `200` — OK (partial success possible) - `400` — Request-level failure - `401` — Request-level failure - `403` — Request-level failure - `500` — Request-level failure Response example, 200: ```json { "data": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b" } ], "errors": [ { "warehouse_id": "825f5f2b-307c-4cc1-9373-6d0c4692d478", "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b", "message": "string" } ] } ``` --- # Management API v1 Source: https://docs.enad.io/management/management-api/v1/reference Server-to-server API for reading and writing the ENAD platform: products, variants, attributes, translations, categories, collections, brands, listings, channels, markets, store groups, warehouses, stocks, prices, orders, bulk operations, and more, at `https://api.enad.io`. ## When to use it Use it from a trusted backend — never from a browser — whenever a system needs to change or reconcile catalog data: an ERP or PIM feed creating products, a stock or price synchronization, a webhook handler pushing updates back into ENAD, or bulk imports and exports. Storefront clients should not call this API: shoppers read data from the Product Search API (https://docs.enad.io/storefront/graphql) and customer accounts live in the Customers API (https://docs.enad.io/storefront/customers-api). ## Authentication Every route is scoped to a team and app (`/api/v1/{team_slug}/{app_slug}/...`) and expects a management token sent as `Authorization: Bearer `. Tokens are created in Enad Admin at https://app.enad.io, carry the app's permissions, and request bodies are limited to 30 MB. ## Versions This version is deprecated: it receives only bug fixes and security updates, and no new features. Endpoints under `/api/v2` are the current API — see the [Management API v2 reference](/management/management-api/reference). Version 1.0 Base URL: `https://api.enad.io` ## Products - [`GET /api/v1/{team_slug}/{app_slug}/products`](/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products) — List products. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products`](/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products) — Create a product. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id) — Delete a product. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}`](/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id) — Get a product by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}`](/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-product-id) — Update a product. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories`](/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id-categories) — List Product Categories. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories/{category_id}`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-categories-category-id) — Remove Product from Category. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories/{category_id}`](/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-categories-category-id) — Add Product to Category. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-collections) — Remove collections from a product. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections`](/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-collections) — Add collections to a product. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections/{collection_id}`](/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-collections-collection-id) — Add a collection to a product. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/duplicate`](/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products-product-id-duplicate) — Duplicate a product. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/images`](/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id-images) — Retrieve product images. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/images`](/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-images) — Upload product image. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/images/{image_id}`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-images-image-id) — Delete product image. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/soft-delete`](/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-product-id-soft-delete) — Soft delete a product. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/tags/{tag_key}`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-tags-tag-key) — Remove a tag from a product. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/tags/{tag_key}`](/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-tags-tag-key) — Add a tag to a product. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/bulk`](/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-bulk) — Bulk delete products. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/bulk`](/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-bulk) — Bulk update products. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/bulk`](/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products-bulk) — Bulk create products. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/bulk/soft-delete`](/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-bulk-soft-delete) — Bulk soft delete products. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/sku/{product_number}`](/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-sku-product-number) — Get a product by product number. Deprecated. ## Product Drafts - [`GET /api/v1/{team_slug}/{app_slug}/drafts`](/management/management-api/v1/reference/product-drafts/get-api-v1-team-slug-app-slug-drafts) — List Product Drafts. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft`](/management/management-api/v1/reference/product-drafts/delete-api-v1-team-slug-app-slug-products-product-id-draft) — Delete Product Draft. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft`](/management/management-api/v1/reference/product-drafts/get-api-v1-team-slug-app-slug-products-product-id-draft) — Get Product Draft. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft`](/management/management-api/v1/reference/product-drafts/patch-api-v1-team-slug-app-slug-products-product-id-draft) — Update Product Draft. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft`](/management/management-api/v1/reference/product-drafts/post-api-v1-team-slug-app-slug-products-product-id-draft) — Create Product Draft. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft/promote`](/management/management-api/v1/reference/product-drafts/post-api-v1-team-slug-app-slug-products-product-id-draft-promote) — Promote Product Draft. Deprecated. ## Variants - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants`](/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants) — List product variants. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants`](/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-products-product-id-variants) — Create product variant. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id) — Delete product variant. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}`](/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id) — Get product variant. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}`](/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-products-product-id-variants-variant-id) — Update product variant. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices`](/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices) — List variant prices by store group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices) — Create or update variant price. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices-batch`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-batch) — Batch create or update variant prices. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices/{store_group_slug}`](/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-store-group-slug) — Get variant prices for store group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices/{store_group_slug}/{market_slug}`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-store-group-slug-market-slug) — Delete variant price. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/shipping-attributes`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-shipping-attributes) — Upsert shipping attributes for a variant. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock) — Set variant warehouse stock. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock/{warehouse_slug}`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock-warehouse-slug) — Delete variant warehouse stock. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock/{warehouse_slug}/diff`](/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock-warehouse-slug-diff) — Adjust variant stock by delta. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/tags/{tag_key}`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-tags-tag-key) — Remove tag from variant. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/tags/{tag_key}`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-tags-tag-key) — Associate tag with variant. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/variants`](/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-variants) — List all app variants. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/variants/bulk`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-bulk) — Bulk delete product variants. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/variants/bulk`](/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-variants-bulk) — Bulk update product variants. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/variants/bulk`](/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-variants-bulk) — Bulk create product variants. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/variants/prices/bulk`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-prices-bulk) — Bulk delete variant prices. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/variants/prices/bulk`](/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-variants-prices-bulk) — Bulk update variant prices. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/variants/prices/bulk`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-variants-prices-bulk) — Bulk create or update variant prices. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/variants/stock/bulk`](/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-stock-bulk) — Delete Stock for Multiple Variants. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/variants/stock/bulk`](/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-variants-stock-bulk) — Set Stock for Multiple Variants. Deprecated. ## Variant Groups - [`PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/variant-groups/{variant_group_id}/status`](/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-channels-channel-id-variant-groups-variant-group-id-status) — Set variant group channel status. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups`](/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-products-product-id-variant-groups) — List variant groups. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups`](/management/management-api/v1/reference/variant-groups/post-api-v1-team-slug-app-slug-products-product-id-variant-groups) — Create a variant group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}`](/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id) — Delete a variant group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}`](/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id) — Get a variant group. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}`](/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id) — Update a variant group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/images`](/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-images) — Set variant group images. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/images/reorder`](/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-images-reorder) — Reorder variant group images. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/tags/{tag_key}`](/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-tags-tag-key) — Remove a tag from a variant group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/tags/{tag_key}`](/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-tags-tag-key) — Add a tag to a variant group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/videos`](/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-videos) — Set variant group videos. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/variant-groups`](/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-variant-groups) — List all app variant groups. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/variant-groups/tags/bulk`](/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-variant-groups-tags-bulk) — Bulk Remove Variant Groups from Tags. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/variant-groups/tags/bulk`](/management/management-api/v1/reference/variant-groups/post-api-v1-team-slug-app-slug-variant-groups-tags-bulk) — Bulk Add Variant Groups to Tags. Deprecated. ## Variant Templates - [`DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates`](/management/management-api/v1/reference/variant-templates/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates) — Delete product variant templates. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates`](/management/management-api/v1/reference/variant-templates/get-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates) — Get product variant templates. - [`PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates`](/management/management-api/v1/reference/variant-templates/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates) — Set product variant templates. Deprecated. ## Product Bundles - [`POST /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles`](/management/management-api/v1/reference/product-bundles/post-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles) — Create product bundle. - [`DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}`](/management/management-api/v1/reference/product-bundles/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id) — Delete product bundle. - [`GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}`](/management/management-api/v1/reference/product-bundles/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id) — Get product bundle. - [`PATCH /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}`](/management/management-api/v1/reference/product-bundles/patch-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id) — Update product bundle. ## Product Bundle Groups - [`GET /api/v1/{team_slug}/{app_slug}/bundle-groups`](/management/management-api/v1/reference/product-bundle-groups/get-api-v1-team-slug-app-slug-bundle-groups) — List Bundle Groups. - [`POST /api/v1/{team_slug}/{app_slug}/bundle-groups`](/management/management-api/v1/reference/product-bundle-groups/post-api-v1-team-slug-app-slug-bundle-groups) — Create Bundle Group. - [`DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}`](/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id) — Delete Bundle Group. - [`GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}`](/management/management-api/v1/reference/product-bundle-groups/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id) — Get Bundle Group. - [`PATCH /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}`](/management/management-api/v1/reference/product-bundle-groups/patch-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id) — Update Bundle Group. - [`DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/markets/{market_slug}`](/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-markets-market-slug) — Remove Market from Bundle Group (Deprecated). Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/markets/{market_slug}`](/management/management-api/v1/reference/product-bundle-groups/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-markets-market-slug) — Add Market to Bundle Group (Deprecated). Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/store-groups/{store_group}/markets/{market_slug}`](/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-store-groups-store-group-markets-market-slug) — Remove Store Group Market from Bundle Group. - [`PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/store-groups/{store_group}/markets/{market_slug}`](/management/management-api/v1/reference/product-bundle-groups/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-store-groups-store-group-markets-market-slug) — Add Store Group Market to Bundle Group. ## Bundle Rules - [`GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules`](/management/management-api/v1/reference/bundle-rules/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules) — List all bundle rules. - [`POST /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules`](/management/management-api/v1/reference/bundle-rules/post-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules) — Create a bundle rule. - [`DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}`](/management/management-api/v1/reference/bundle-rules/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id) — Delete a bundle rule. - [`GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}`](/management/management-api/v1/reference/bundle-rules/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id) — Get a bundle rule. - [`PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}`](/management/management-api/v1/reference/bundle-rules/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id) — Update a bundle rule. ## Attributes - [`POST /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}`](/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-attribute-template-key) — Create attribute. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key) — Delete attribute. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}`](/management/management-api/v1/reference/attributes/get-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key) — Get attribute. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}`](/management/management-api/v1/reference/attributes/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key) — Update attribute. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/link/{attribute_template_key_2}/{attribute_key_2}`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-link-attribute-template-key-2-attribute-key-2) — Delete attribute link. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/link/{attribute_template_key_2}/{attribute_key_2}`](/management/management-api/v1/reference/attributes/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-link-attribute-template-key-2-attribute-key-2) — Link attributes. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/relationship`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-relationship) — Delete attribute relationship. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/relationship`](/management/management-api/v1/reference/attributes/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-relationship) — Create attribute relationship. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/value/{field_key}`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-value-field-key) — Delete attribute value. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk) — Bulk Delete Attributes. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk`](/management/management-api/v1/reference/attributes/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk) — Bulk Update Attributes. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk`](/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk) — Bulk Create Attributes. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/relationships/bulk`](/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-relationships-bulk) — Bulk Delete Attribute-Item Relationships. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/attributes/relationships/bulk`](/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-relationships-bulk) — Bulk Create Attribute-Item Relationships. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/attributes/values`](/management/management-api/v1/reference/attributes/get-api-v1-team-slug-app-slug-attributes-values) — List application attributes. Deprecated. ## Attribute Templates - [`GET /api/v1/{team_slug}/{app_slug}/attributes`](/management/management-api/v1/reference/attribute-templates/get-api-v1-team-slug-app-slug-attributes) — List attribute templates. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/attributes`](/management/management-api/v1/reference/attribute-templates/post-api-v1-team-slug-app-slug-attributes) — Create attribute template. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}`](/management/management-api/v1/reference/attribute-templates/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key) — Delete attribute template. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}`](/management/management-api/v1/reference/attribute-templates/get-api-v1-team-slug-app-slug-attributes-attribute-template-key) — Get attribute template. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}`](/management/management-api/v1/reference/attribute-templates/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key) — Update attribute template. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/attributes/bulk`](/management/management-api/v1/reference/attribute-templates/post-api-v1-team-slug-app-slug-attributes-bulk) — Bulk Create Attribute Templates. Deprecated. ## Attribute Template Fields - [`PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/field`](/management/management-api/v1/reference/attribute-template-fields/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-field) — Create or update attribute template field. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/field/{attribute_template_field_key}`](/management/management-api/v1/reference/attribute-template-fields/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-field-attribute-template-field-key) — Delete attribute template field. ## Relations - [`GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/relations`](/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-products-product-id-relations) — List all relations for a product. - [`GET /api/v1/{team_slug}/{app_slug}/relations`](/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations) — List all relations in an app. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/relations`](/management/management-api/v1/reference/relations/post-api-v1-team-slug-app-slug-relations) — Create a product relation. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/relations/{relation_id}`](/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-relation-id) — Delete a product relation. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/relations/{relation_id}`](/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-relation-id) — Get a product relation. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/relations/{relation_id}/{product_id}`](/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-relation-id-product-id) — Remove a product from a relation. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/relations/{relation_id}/{product_id}`](/management/management-api/v1/reference/relations/put-api-v1-team-slug-app-slug-relations-relation-id-product-id) — Add a product to a relation. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/relations/types`](/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-types) — List all relation types in an app. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/relations/types`](/management/management-api/v1/reference/relations/post-api-v1-team-slug-app-slug-relations-types) — Create a relation type. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}`](/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-types-type-id) — Delete a relation type. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}`](/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-types-type-id) — Get a relation type. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}`](/management/management-api/v1/reference/relations/patch-api-v1-team-slug-app-slug-relations-types-type-id) — Update a relation type. Deprecated. ## Translations - [`GET /api/v1/{team_slug}/{app_slug}/translations`](/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations) — List all translations. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/translations`](/management/management-api/v1/reference/translations/post-api-v1-team-slug-app-slug-translations) — Create translation. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/translations/{translation_id}`](/management/management-api/v1/reference/translations/delete-api-v1-team-slug-app-slug-translations-translation-id) — Delete translation by ID. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/translations/{translation_id}`](/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations-translation-id) — Get translation by ID. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/translations/{translation_id}`](/management/management-api/v1/reference/translations/put-api-v1-team-slug-app-slug-translations-translation-id) — Update translation. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/translations/bulk`](/management/management-api/v1/reference/translations/post-api-v1-team-slug-app-slug-translations-bulk) — Bulk create translations. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/translations/bulk`](/management/management-api/v1/reference/translations/put-api-v1-team-slug-app-slug-translations-bulk) — Bulk update translations. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/translations/ref/{parent_ref}`](/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations-ref-parent-ref) — List translations by parent reference. Deprecated. ## Categories - [`GET /api/v1/{team_slug}/{app_slug}/categories`](/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories) — List Categories. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/categories`](/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories) — Create Category. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/categories/{category_id}`](/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-category-id) — Delete Category. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/categories/{category_id}`](/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-category-id) — Get Category. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/categories/{category_id}`](/management/management-api/v1/reference/categories/patch-api-v1-team-slug-app-slug-categories-category-id) — Update Category. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/categories/{category_id}/products`](/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-category-id-products) — Get Category Products. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/categories/bulk`](/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-bulk) — Bulk Delete Categories. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/categories/bulk`](/management/management-api/v1/reference/categories/patch-api-v1-team-slug-app-slug-categories-bulk) — Bulk Update Categories. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/categories/bulk`](/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories-bulk) — Bulk Create Categories. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/categories/products/bulk`](/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-products-bulk) — Bulk Remove Products from Categories. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/categories/products/bulk`](/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories-products-bulk) — Bulk Add Products to Categories. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/categories/tree`](/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-tree) — Get Category Tree. Deprecated. ## Collections - [`GET /api/v1/{team_slug}/{app_slug}/collections`](/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections) — List all collections. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/collections`](/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections) — Create a new collection. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/collections/{collection_id}`](/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-collection-id) — Delete a collection. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/collections/{collection_id}`](/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-collection-id) — Get a collection by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/collections/{collection_id}`](/management/management-api/v1/reference/collections/patch-api-v1-team-slug-app-slug-collections-collection-id) — Update a collection. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products`](/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-collection-id-products) — Remove products from collection. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products`](/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-collection-id-products) — List products in a collection. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products`](/management/management-api/v1/reference/collections/put-api-v1-team-slug-app-slug-collections-collection-id-products) — Add products to collection. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/collections/bulk`](/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-bulk) — Bulk delete collections. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/collections/bulk`](/management/management-api/v1/reference/collections/patch-api-v1-team-slug-app-slug-collections-bulk) — Bulk update collections. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/collections/bulk`](/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections-bulk) — Bulk create collections. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/collections/products/bulk`](/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-products-bulk) — Bulk remove products from collections. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/collections/products/bulk`](/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections-products-bulk) — Bulk add products to collections. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/collections/tree`](/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-tree) — Get collection tree. Deprecated. ## Brands - [`GET /api/v1/{team_slug}/{app_slug}/brands`](/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands) — List all brands. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/brands`](/management/management-api/v1/reference/brands/post-api-v1-team-slug-app-slug-brands) — Create a new brand. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/brands/{brand_id}`](/management/management-api/v1/reference/brands/delete-api-v1-team-slug-app-slug-brands-brand-id) — Delete a brand. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}`](/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id) — Retrieve a brand by ID. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/brands/{brand_id}`](/management/management-api/v1/reference/brands/put-api-v1-team-slug-app-slug-brands-brand-id) — Update an existing brand. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id-series) — List all series for a brand. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series`](/management/management-api/v1/reference/brands/post-api-v1-team-slug-app-slug-brands-brand-id-series) — Create a new series under a brand. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}`](/management/management-api/v1/reference/brands/delete-api-v1-team-slug-app-slug-brands-brand-id-series-series-id) — Delete a series. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}`](/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id-series-series-id) — Retrieve a series by ID. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}`](/management/management-api/v1/reference/brands/put-api-v1-team-slug-app-slug-brands-brand-id-series-series-id) — Update an existing series. Deprecated. ## Tags - [`DELETE /api/v1/{team_slug}/{app_slug}/products/tags/bulk`](/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-products-tags-bulk) — Bulk Remove Products from Tags. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/products/tags/bulk`](/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-products-tags-bulk) — Bulk Add Products to Tags. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/tags`](/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags) — List all tags. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/tags`](/management/management-api/v1/reference/tags/post-api-v1-team-slug-app-slug-tags) — Create a new tag. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/tags/{tag_key}`](/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-tag-key) — Delete a tag. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/tags/{tag_key}`](/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags-tag-key) — Get a tag by key. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/tags/{tag_key}`](/management/management-api/v1/reference/tags/patch-api-v1-team-slug-app-slug-tags-tag-key) — Update a tag. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/markets/{market_slug}`](/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-tag-key-markets-market-slug) — Remove tag from market. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/markets/{market_slug}`](/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-tags-tag-key-markets-market-slug) — Associate tag with market. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/products`](/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags-tag-key-products) — List products by tag. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/tags/bulk`](/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-bulk) — Bulk Delete Tags. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/tags/bulk`](/management/management-api/v1/reference/tags/patch-api-v1-team-slug-app-slug-tags-bulk) — Bulk Update Tags. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/tags/bulk`](/management/management-api/v1/reference/tags/post-api-v1-team-slug-app-slug-tags-bulk) — Bulk Create Tags. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/variants/tags/bulk`](/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-variants-tags-bulk) — Bulk Remove Variants from Tags. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/variants/tags/bulk`](/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-variants-tags-bulk) — Bulk Add Variants to Tags. Deprecated. ## Smart Listings - [`GET /api/v1/{team_slug}/{app_slug}/smart-listings`](/management/management-api/v1/reference/smart-listings/get-api-v1-team-slug-app-slug-smart-listings) — List all smart listings. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/smart-listings`](/management/management-api/v1/reference/smart-listings/post-api-v1-team-slug-app-slug-smart-listings) — Create a smart listing. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}`](/management/management-api/v1/reference/smart-listings/delete-api-v1-team-slug-app-slug-smart-listings-listing-id) — Delete a smart listing. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}`](/management/management-api/v1/reference/smart-listings/get-api-v1-team-slug-app-slug-smart-listings-listing-id) — Get a smart listing. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}`](/management/management-api/v1/reference/smart-listings/put-api-v1-team-slug-app-slug-smart-listings-listing-id) — Update a smart listing. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/smart-listings/preview`](/management/management-api/v1/reference/smart-listings/post-api-v1-team-slug-app-slug-smart-listings-preview) — Preview smart listing results. Deprecated. ## Static Listings - [`GET /api/v1/{team_slug}/{app_slug}/static-listings`](/management/management-api/v1/reference/static-listings/get-api-v1-team-slug-app-slug-static-listings) — Get all static listings. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/static-listings`](/management/management-api/v1/reference/static-listings/post-api-v1-team-slug-app-slug-static-listings) — Create a static listing. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}`](/management/management-api/v1/reference/static-listings/delete-api-v1-team-slug-app-slug-static-listings-listing-id) — Delete a static listing. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}`](/management/management-api/v1/reference/static-listings/get-api-v1-team-slug-app-slug-static-listings-listing-id) — Get a static listing. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}`](/management/management-api/v1/reference/static-listings/put-api-v1-team-slug-app-slug-static-listings-listing-id) — Update a static listing. Deprecated. ## Redirects - [`GET /api/v1/{team_slug}/{app_slug}/redirects`](/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects) — List all app redirects. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/redirects`](/management/management-api/v1/reference/redirects/post-api-v1-team-slug-app-slug-redirects) — Create a new redirect. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}`](/management/management-api/v1/reference/redirects/delete-api-v1-team-slug-app-slug-redirects-redirect-id) — Delete a redirect. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}`](/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects-redirect-id) — Get redirect by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}`](/management/management-api/v1/reference/redirects/patch-api-v1-team-slug-app-slug-redirects-redirect-id) — Update a redirect. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/redirects/item/{item_id}`](/management/management-api/v1/reference/redirects/delete-api-v1-team-slug-app-slug-redirects-item-item-id) — Delete all redirects for an item. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/redirects/item/{item_id}`](/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects-item-item-id) — List redirects for an item. Deprecated. ## Channels - [`GET /api/v1/{team_slug}/{app_slug}/channels`](/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels) — List channels. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/channels`](/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels) — Create a channel. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}`](/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id) — Delete a channel. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/channels/{channel_id}`](/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels-channel-id) — Get a channel. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}`](/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id) — Update a channel. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content`](/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-content) — Create Channel Content Override. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/{content_id}`](/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-content-content-id) — Delete Channel Content Override. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/{content_id}`](/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-content-content-id) — Update Channel Content Override. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/bulk`](/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-content-bulk) — Bulk Update Channel Content Overrides. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/bulk`](/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-content-bulk) — Bulk Create Channel Content Overrides. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/parent/{parent_id}`](/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels-channel-id-content-parent-parent-id) — List Channel Content Overrides by Parent. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products`](/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-products) — Bulk remove products from channel. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products`](/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-products) — Bulk add products to channel. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}`](/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-products-product-id) — Remove product from channel. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}`](/management/management-api/v1/reference/channels/put-api-v1-team-slug-app-slug-channels-channel-id-products-product-id) — Add product to channel. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}/status`](/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-products-product-id-status) — Set product channel status. Deprecated. ## Markets - [`GET /api/v1/{team_slug}/{app_slug}/markets`](/management/management-api/v1/reference/markets/get-api-v1-team-slug-app-slug-markets) — List all markets. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/markets`](/management/management-api/v1/reference/markets/post-api-v1-team-slug-app-slug-markets) — Create a new market. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/markets/{market_slug}`](/management/management-api/v1/reference/markets/delete-api-v1-team-slug-app-slug-markets-market-slug) — Delete a market. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/markets/{market_slug}`](/management/management-api/v1/reference/markets/get-api-v1-team-slug-app-slug-markets-market-slug) — Get a market by slug. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/markets/{market_slug}`](/management/management-api/v1/reference/markets/patch-api-v1-team-slug-app-slug-markets-market-slug) — Update an existing market. Deprecated. ## Store Groups - [`GET /api/v1/{team_slug}/{app_slug}/store-groups`](/management/management-api/v1/reference/store-groups/get-api-v1-team-slug-app-slug-store-groups) — List all store groups. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/store-groups`](/management/management-api/v1/reference/store-groups/post-api-v1-team-slug-app-slug-store-groups) — Create a store group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}`](/management/management-api/v1/reference/store-groups/delete-api-v1-team-slug-app-slug-store-groups-store-group-slug) — Delete a store group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}`](/management/management-api/v1/reference/store-groups/get-api-v1-team-slug-app-slug-store-groups-store-group-slug) — Get a store group. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}`](/management/management-api/v1/reference/store-groups/patch-api-v1-team-slug-app-slug-store-groups-store-group-slug) — Update a store group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}/market/{market_slug}`](/management/management-api/v1/reference/store-groups/delete-api-v1-team-slug-app-slug-store-groups-store-group-slug-market-market-slug) — Remove a market from a store group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}/market/{market_slug}`](/management/management-api/v1/reference/store-groups/put-api-v1-team-slug-app-slug-store-groups-store-group-slug-market-market-slug) — Add a market to a store group. Deprecated. ## Warehouses - [`GET /api/v1/{team_slug}/{app_slug}/warehouses`](/management/management-api/v1/reference/warehouses/get-api-v1-team-slug-app-slug-warehouses) — List all warehouses. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/warehouses`](/management/management-api/v1/reference/warehouses/post-api-v1-team-slug-app-slug-warehouses) — Create a new warehouse. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}`](/management/management-api/v1/reference/warehouses/delete-api-v1-team-slug-app-slug-warehouses-warehouse-slug) — Delete a warehouse. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}`](/management/management-api/v1/reference/warehouses/get-api-v1-team-slug-app-slug-warehouses-warehouse-slug) — Get a warehouse. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}`](/management/management-api/v1/reference/warehouses/patch-api-v1-team-slug-app-slug-warehouses-warehouse-slug) — Update a warehouse. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}/market/{market_slug}`](/management/management-api/v1/reference/warehouses/delete-api-v1-team-slug-app-slug-warehouses-warehouse-slug-market-market-slug) — Remove a market from a warehouse. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}/market/{market_slug}`](/management/management-api/v1/reference/warehouses/put-api-v1-team-slug-app-slug-warehouses-warehouse-slug-market-market-slug) — Add a market to a warehouse. Deprecated. ## Scheduling - [`GET /api/v1/{team_slug}/{app_slug}/schedule`](/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule) — List Scheduled Jobs. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/schedule`](/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule) — Create Scheduled Job. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/schedule/{item_id}`](/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-item-id) — Get Item Scheduled Jobs. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/schedule/{job_id}`](/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-job-id) — Delete Scheduled Job. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/schedule/bulk`](/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-bulk) — Bulk Delete Scheduled Jobs. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/schedule/bulk`](/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule-bulk) — Bulk Create Scheduled Jobs. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-groups) — List Scheduled Job Groups. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/schedule/groups`](/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule-groups) — Create Scheduled Job Group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/schedule/groups/{group_id}`](/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-groups-group-id) — Delete Scheduled Job Group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/schedule/groups/{group_id}`](/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-groups-group-id) — Get Scheduled Job Group. Deprecated. ## Price Relay Rules - [`POST /api/v1/{team_slug}/{app_slug}/price-relay-connections`](/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-connections) — Connect a source rule to a target rule. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/price-relay-connections/{connection_id}`](/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-connections-connection-id) — Disconnect a source rule from a target rule. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/price-relay-source-rules`](/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-source-rules) — List price relay source rules with pagination. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/price-relay-source-rules`](/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-source-rules) — Create a price relay source rule. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id) — Delete a price relay source rule (cascades its connections). Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id) — Get a price relay source rule including its connected target rules. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/put-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id) — Update a price relay source rule. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/price-relay-target-rules`](/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-target-rules) — List price relay target rules with pagination. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/price-relay-target-rules`](/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-target-rules) — Create a price relay target rule. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id) — Delete a price relay target rule (cascades its connections). Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id) — Get a price relay target rule including its connected source rules. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}`](/management/management-api/v1/reference/price-relay-rules/put-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id) — Update a price relay target rule. Deprecated. ## Tax Groups - [`GET /api/v1/{team_slug}/{app_slug}/tax-groups`](/management/management-api/v1/reference/tax-groups/get-api-v1-team-slug-app-slug-tax-groups) — List all tax groups. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/tax-groups`](/management/management-api/v1/reference/tax-groups/post-api-v1-team-slug-app-slug-tax-groups) — Create a tax group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}`](/management/management-api/v1/reference/tax-groups/delete-api-v1-team-slug-app-slug-tax-groups-tax-group-slug) — Delete a tax group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}`](/management/management-api/v1/reference/tax-groups/get-api-v1-team-slug-app-slug-tax-groups-tax-group-slug) — Get a tax group. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}`](/management/management-api/v1/reference/tax-groups/patch-api-v1-team-slug-app-slug-tax-groups-tax-group-slug) — Update a tax group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}/market/{market_slug}`](/management/management-api/v1/reference/tax-groups/delete-api-v1-team-slug-app-slug-tax-groups-tax-group-slug-market-market-slug) — Remove a market from a tax group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}/market/{market_slug}`](/management/management-api/v1/reference/tax-groups/put-api-v1-team-slug-app-slug-tax-groups-tax-group-slug-market-market-slug) — Add a market to a tax group. Deprecated. ## Merchant Users - [`GET /api/v1/{team_slug}/{app_slug}/merchant-users`](/management/management-api/v1/reference/merchant-users/get-api-v1-team-slug-app-slug-merchant-users) — List merchant users. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/merchant-users`](/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users) — Create merchant user. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}`](/management/management-api/v1/reference/merchant-users/delete-api-v1-team-slug-app-slug-merchant-users-user-id) — Delete merchant user. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}`](/management/management-api/v1/reference/merchant-users/get-api-v1-team-slug-app-slug-merchant-users-user-id) — Get merchant user by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}`](/management/management-api/v1/reference/merchant-users/patch-api-v1-team-slug-app-slug-merchant-users-user-id) — Update merchant user. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/new-password`](/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-new-password) — Set merchant user password. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/send-email-verification`](/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-send-email-verification) — Resend email verification. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags`](/management/management-api/v1/reference/merchant-users/delete-api-v1-team-slug-app-slug-merchant-users-user-id-tags) — Remove tags from merchant user. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags`](/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-tags) — Add tags to merchant user. Deprecated. ## Organizations - [`GET /api/v1/{team_slug}/{app_slug}/organisations`](/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations) — List all organizations. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/organisations`](/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations) — Create a new organization. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}`](/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id) — Delete an organization. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/organisations/{org_id}`](/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations-org-id) — Get organization by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/organisations/{org_id}`](/management/management-api/v1/reference/organizations/patch-api-v1-team-slug-app-slug-organisations-org-id) — Update an existing organization. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/address/{address_id}`](/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-address-address-id) — Remove address restriction for user. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/address/{address_id}`](/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations-org-id-address-address-id) — Add address restriction for user. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tags`](/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-tags) — Remove tags from organization. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tags`](/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations-org-id-tags) — Add tags to organization. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tree`](/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations-org-id-tree) — Get organization tree by ID. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/user`](/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-user) — Remove user from organization. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/user`](/management/management-api/v1/reference/organizations/put-api-v1-team-slug-app-slug-organisations-org-id-user) — Add user to organization. Deprecated. ## Customer Groups - [`DELETE /api/v1/{team_slug}/{app_slug}/customer-group-prices`](/management/management-api/v1/reference/customer-groups/delete-api-v1-team-slug-app-slug-customer-group-prices) — Bulk delete customer group product variant prices. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/customer-group-prices`](/management/management-api/v1/reference/customer-groups/put-api-v1-team-slug-app-slug-customer-group-prices) — Bulk upsert customer group product variant prices. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/customer-group-prices/{customer_group_price_id}`](/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-group-prices-customer-group-price-id) — Get a customer group product variant price. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/customer-groups`](/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups) — List all customer groups with pagination. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/customer-groups`](/management/management-api/v1/reference/customer-groups/post-api-v1-team-slug-app-slug-customer-groups) — Create a customer group. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}`](/management/management-api/v1/reference/customer-groups/delete-api-v1-team-slug-app-slug-customer-groups-customer-group-id) — Delete a customer group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}`](/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups-customer-group-id) — Get a customer group. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}`](/management/management-api/v1/reference/customer-groups/put-api-v1-team-slug-app-slug-customer-groups-customer-group-id) — Update a customer group. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}/prices`](/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups-customer-group-id-prices) — List customer group product variant prices. Deprecated. ## Custom Roles - [`GET /api/v1/{team_slug}/{app_slug}/custom-roles`](/management/management-api/v1/reference/custom-roles/get-api-v1-team-slug-app-slug-custom-roles) — List all custom roles within pagination. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/custom-roles`](/management/management-api/v1/reference/custom-roles/post-api-v1-team-slug-app-slug-custom-roles) — Create a custom role. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}`](/management/management-api/v1/reference/custom-roles/delete-api-v1-team-slug-app-slug-custom-roles-custom-role-id) — Delete a custom role. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}`](/management/management-api/v1/reference/custom-roles/get-api-v1-team-slug-app-slug-custom-roles-custom-role-id) — Get a custom role. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}`](/management/management-api/v1/reference/custom-roles/put-api-v1-team-slug-app-slug-custom-roles-custom-role-id) — Update a custom role. Deprecated. ## Orders - [`GET /api/v1/{team_slug}/{app_slug}/orders`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders) — List all orders. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/orders`](/management/management-api/v1/reference/orders/post-api-v1-team-slug-app-slug-orders) — Create order. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/orders/{order_id}`](/management/management-api/v1/reference/orders/delete-api-v1-team-slug-app-slug-orders-order-id) — Cancel order. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id) — Get order by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}`](/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id) — Update order. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}/history`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id-history) — Get order history. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id-lines) — Get order lines. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines`](/management/management-api/v1/reference/orders/post-api-v1-team-slug-app-slug-orders-order-id-lines) — Create order line. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines/{line_id}`](/management/management-api/v1/reference/orders/delete-api-v1-team-slug-app-slug-orders-order-id-lines-line-id) — Delete order line. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines/{line_id}`](/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id-lines-line-id) — Update order line. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}/status`](/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id-status) — Update order status. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/orders/merchant-user/{user_id}`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-merchant-user-user-id) — List orders by merchant user. - [`GET /api/v1/{team_slug}/{app_slug}/orders/metrics`](/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-metrics) — Get sales metrics. Deprecated. ## DAM - [`PUT /api/v1/{team_slug}/{app_slug}/dam/files/{file_id}/folder`](/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-files-file-id-folder) — Set File Folder. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders) — List DAM Folders (Flat View). Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/dam/folders`](/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-folders) — Create DAM Folder. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}`](/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-folders-folder-id) — Delete DAM Folder. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id) — Get DAM Folder by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}`](/management/management-api/v1/reference/dam/patch-api-v1-team-slug-app-slug-dam-folders-folder-id) — Update DAM Folder. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/items/bulk`](/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-folders-folder-id-items-bulk) — Bulk Set Media Folder. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/media`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-media) — Get Folder Media. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-roles) — List Folder Roles. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles/{role_id}`](/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-folders-folder-id-roles-role-id) — Remove Role from Folder. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles/{role_id}`](/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-folders-folder-id-roles-role-id) — Add Role to Folder. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-tree) — Get Folder Tree from Path. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/folders/tree`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-tree) — Get DAM Folder Hierarchy Tree. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/dam/images/{image_id}/folder`](/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-images-image-id-folder) — Set Image Folder. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/media/search`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-media-search) — Search DAM Media. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/shareable-links`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-shareable-links) — List all shareable links. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/dam/shareable-links`](/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-shareable-links) — Create a new shareable link. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-shareable-links-link-id) — Delete a shareable link. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-shareable-links-link-id) — Get a specific shareable link. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}`](/management/management-api/v1/reference/dam/patch-api-v1-team-slug-app-slug-dam-shareable-links-link-id) — Update a shareable link. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources`](/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-shareable-links-link-id-resources) — Remove resources from a shareable link. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources`](/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-shareable-links-link-id-resources) — Add resources to a shareable link. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/dam/videos/{video_id}/folder`](/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-videos-video-id-folder) — Set Video Folder. Deprecated. ## Files - [`GET /api/v1/{team_slug}/{app_slug}/files`](/management/management-api/v1/reference/files/get-api-v1-team-slug-app-slug-files) — List Files. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/files`](/management/management-api/v1/reference/files/put-api-v1-team-slug-app-slug-files) — Upload File. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/files/{file_id}`](/management/management-api/v1/reference/files/delete-api-v1-team-slug-app-slug-files-file-id) — Delete File. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/files/{file_id}`](/management/management-api/v1/reference/files/get-api-v1-team-slug-app-slug-files-file-id) — Get File. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/files/{file_id}`](/management/management-api/v1/reference/files/patch-api-v1-team-slug-app-slug-files-file-id) — Update File. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}`](/management/management-api/v1/reference/files/delete-api-v1-team-slug-app-slug-files-file-id-relationships-item-id) — Delete File Relationship. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}`](/management/management-api/v1/reference/files/put-api-v1-team-slug-app-slug-files-file-id-relationships-item-id) — Add File Relationship. Deprecated. ## Images - [`GET /api/v1/{team_slug}/{app_slug}/images`](/management/management-api/v1/reference/images/get-api-v1-team-slug-app-slug-images) — Retrieve all images. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/images`](/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images) — Upload image. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}`](/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id) — Delete image. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/images/{image_id}`](/management/management-api/v1/reference/images/get-api-v1-team-slug-app-slug-images-image-id) — Retrieve image. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/images/{image_id}`](/management/management-api/v1/reference/images/patch-api-v1-team-slug-app-slug-images-image-id) — Update image. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationship`](/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id-relationship) — Delete image relationship. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationship`](/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images-image-id-relationship) — Create image relationship. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulk`](/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id-relationships-bulk) — Bulk Remove Image Relationships. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulk`](/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images-image-id-relationships-bulk) — Bulk Add Image Relationships. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/images/bulk`](/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-bulk) — Bulk Delete Images. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/images/bulk`](/management/management-api/v1/reference/images/patch-api-v1-team-slug-app-slug-images-bulk) — Bulk Patch Images. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/images/bulk`](/management/management-api/v1/reference/images/post-api-v1-team-slug-app-slug-images-bulk) — Bulk Upload Images. Deprecated. ## Videos - [`GET /api/v1/{team_slug}/{app_slug}/videos`](/management/management-api/v1/reference/videos/get-api-v1-team-slug-app-slug-videos) — List videos. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/videos`](/management/management-api/v1/reference/videos/put-api-v1-team-slug-app-slug-videos) — Generate video upload URL. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/videos/{video_id}`](/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-video-id) — Delete video. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/videos/{video_id}`](/management/management-api/v1/reference/videos/get-api-v1-team-slug-app-slug-videos-video-id) — Get video by ID. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/videos/{video_id}`](/management/management-api/v1/reference/videos/patch-api-v1-team-slug-app-slug-videos-video-id) — Update video. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/videos/{video_id}/relationship`](/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-video-id-relationship) — Delete video-to-item relationship. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/videos/{video_id}/relationship`](/management/management-api/v1/reference/videos/put-api-v1-team-slug-app-slug-videos-video-id-relationship) — Create video-to-item relationship. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/videos/bulk`](/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-bulk) — Bulk delete videos. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/videos/bulk`](/management/management-api/v1/reference/videos/patch-api-v1-team-slug-app-slug-videos-bulk) — Bulk update videos. Deprecated. ## Logs - [`GET /api/v1/{team_slug}/{app_slug}/logs/{item_id}`](/management/management-api/v1/reference/logs/get-api-v1-team-slug-app-slug-logs-item-id) — Get Item Logs. ## Third-Party Link - [`GET /api/v1/{team_slug}/{app_slug}/third-party-links`](/management/management-api/v1/reference/third-party-link/get-api-v1-team-slug-app-slug-third-party-links) — List all third-party links. Deprecated. - [`POST /api/v1/{team_slug}/{app_slug}/third-party-links`](/management/management-api/v1/reference/third-party-link/post-api-v1-team-slug-app-slug-third-party-links) — Create a new third-party link. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}`](/management/management-api/v1/reference/third-party-link/delete-api-v1-team-slug-app-slug-third-party-links-third-party-link-id) — Delete a third-party link. Deprecated. - [`GET /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}`](/management/management-api/v1/reference/third-party-link/get-api-v1-team-slug-app-slug-third-party-links-third-party-link-id) — Get a third-party link. Deprecated. - [`PATCH /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}`](/management/management-api/v1/reference/third-party-link/patch-api-v1-team-slug-app-slug-third-party-links-third-party-link-id) — Update a third-party link. Deprecated. - [`DELETE /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}/relationships/{item_id}`](/management/management-api/v1/reference/third-party-link/delete-api-v1-team-slug-app-slug-third-party-links-third-party-link-id-relationships-item-id) — Unlink a third-party link from a product. Deprecated. - [`PUT /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}/relationships/{item_id}`](/management/management-api/v1/reference/third-party-link/put-api-v1-team-slug-app-slug-third-party-links-third-party-link-id-relationships-item-id) — Link a third-party link to a product. Deprecated. --- # Delete attribute template field Source: https://docs.enad.io/management/management-api/v1/reference/attribute-template-fields/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-field-attribute-template-field-key Permanently deletes a field definition from an attribute template. This also removes all field values associated with this field from all attributes using the template. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/field/{attribute_template_field_key}` **Responses** - `200` — Attribute template field deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Create or update attribute template field Source: https://docs.enad.io/management/management-api/v1/reference/attribute-template-fields/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-field Creates a new field definition or updates an existing one in the attribute template. If a field with the same key exists, its name and type will be overwritten. `PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/field` **Deprecated.** **Responses** - `200` — New or updated field - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete attribute template Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key Permanently deletes an attribute template by key, including all associated field definitions. Attributes created from this template are not deleted. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}` **Deprecated.** **Responses** - `200` — Attribute deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List attribute templates Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/get-api-v1-team-slug-app-slug-attributes Retrieves all attribute templates for the current application including their field definitions and associated attributes. Supports pagination, filtering by resources, searching, and sorting. `GET /api/v1/{team_slug}/{app_slug}/attributes` **Deprecated.** **Responses** - `200` — Attributes templates and corresponding attributes - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get attribute template Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/get-api-v1-team-slug-app-slug-attributes-attribute-template-key Retrieves a single attribute template by key, including its field definitions, associated attributes, and their values. Supports searching and sorting of attributes within the template. `GET /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}` **Deprecated.** **Responses** - `200` — Attributes template and corresponding attributes - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update attribute template Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key Updates an existing attribute template including its name, key, type, fields, and resource associations. If a field with the same key already exists, it will be updated rather than duplicated. `PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}` **Deprecated.** **Request body** (`application/json`, required) Attribute data - `fields` (internal_pkg_webserver_v1.InputAttributeField[]) - `filterable` (boolean) - `key` (string) — Key of the attribute - `name` (string) — Name of the attribute - `resources` (string[]) - `translatable` (boolean) - `type` (string) — Name of the attribute Request body example: ```json { "fields": [ { "key": "string", "name": "string", "type": "boolean" } ], "filterable": true, "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string" } ``` **Responses** - `200` — Attribute template - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create attribute template Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/post-api-v1-team-slug-app-slug-attributes Creates a new attribute template that defines the structure and fields for attributes. Templates specify field types (image, text, html, boolean, number, color) and can be associated with resources like products, categories, or tags. Reserved field keys (key, name, description) cannot be used. `POST /api/v1/{team_slug}/{app_slug}/attributes` **Deprecated.** **Request body** (`application/json`, required) Attribute data - `fields` (internal_pkg_webserver_v1.InputAttributeField[] | null) - `filterable` (boolean) - `key` (string, required) — Key of the attribute - `name` (string, required) — Name of the attribute - `resources` (string[] | null) - `translatable` (boolean) - `type` (string, required) — Name of the attribute Request body example: ```json { "fields": [ { "key": "string", "name": "string", "type": "boolean" } ], "filterable": true, "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string" } ``` **Responses** - `200` — Attributes - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Attribute Templates Source: https://docs.enad.io/management/management-api/v1/reference/attribute-templates/post-api-v1-team-slug-app-slug-attributes-bulk Creates multiple attribute templates in a single atomic operation. Each template can have custom fields defined. Returns lists of successful and failed creations with detailed error reasons. `POST /api/v1/{team_slug}/{app_slug}/attributes/bulk` **Deprecated.** **Request body** (`application/json`, required) Attribute templates to create (max 50) - `items` (internal_pkg_webserver_v1.InputAttributeTemplate[], required) Request body example: ```json { "items": [ { "fields": [ { "key": "string", "name": "string", "type": "boolean" } ], "filterable": true, "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string" } ] } ``` **Responses** - `200` — Templates processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_creations": [ { "input": { "fields": [ { "key": "string", "name": "string", "type": "boolean" } ], "filterable": true, "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string" }, "reason": "string" } ], "successful_creations": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "name": "string", "resources": [ "string" ], "translatable": true, "type": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Delete attribute Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key Permanently deletes an attribute by its template and attribute key. Publishes an attribute deletion event to notify dependent systems. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}` **Deprecated.** **Responses** - `200` — Attribute deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete attribute link Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-link-attribute-template-key-2-attribute-key-2 Removes the bidirectional link between two attributes. After unlinking, adding one attribute to an item will no longer automatically add the other. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/link/{attribute_template_key_2}/{attribute_key_2}` **Deprecated.** **Responses** - `200` — Attribute link deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "linked_attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } }, "details": [ "string" ], "success": true } ``` --- # Delete attribute relationship Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-relationship Removes relationships between an attribute and one or more items (products, tags, categories, etc.). Publishes a relationship deletion event. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/relationship` **Deprecated.** **Request body** (`application/json`, required) Items IDs you want to remove a relationship with - `items` (string[]) Request body example: ```json { "items": [ "string" ] } ``` **Responses** - `200` — Attribute relationship created - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete attribute value Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-value-field-key Removes a specific field value from an attribute by field key. Publishes an attribute update event after deletion. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/value/{field_key}` **Deprecated.** **Responses** - `200` — Attribute value deleted ok response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk Delete Attributes Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk Deletes multiple attributes by their IDs for a specified attribute template in a single operation. Returns lists of successful and failed deletions. Publishes attribute deleted events for each successful deletion. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk` **Deprecated.** **Request body** (`application/json`, required) Attribute IDs to delete (max 50) - `attribute_ids` (string[], required) Request body example: ```json { "attribute_ids": [ "string" ] } ``` **Responses** - `200` — Attributes processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `404` — Attribute template not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Delete Attribute-Item Relationships Source: https://docs.enad.io/management/management-api/v1/reference/attributes/delete-api-v1-team-slug-app-slug-attributes-relationships-bulk Removes associations between multiple attributes and multiple items in a single operation. Each removal breaks the link between one attribute and one or more items. Returns lists of successful and failed removals with detailed error reasons. `DELETE /api/v1/{team_slug}/{app_slug}/attributes/relationships/bulk` **Deprecated.** **Request body** (`application/json`, required) Attribute-item relationships to delete (max 50) - `items` (internal_pkg_webserver_v1.BulkAttributeRelationshipItem[], required) Request body example: ```json { "items": [ { "attribute_id": "string", "item_ids": [ "string" ] } ] } ``` **Responses** - `200` — Relationships processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_removals": [ { "attribute_id": "string", "item_id": "string", "reason": "string" } ], "successful_removals": [ { "attribute_id": "string", "item_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # Get attribute Source: https://docs.enad.io/management/management-api/v1/reference/attributes/get-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key Retrieves a single attribute by template key and attribute key, including its field values, field definitions, linked attributes, and translations. `GET /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}` **Deprecated.** **Responses** - `200` — Attribute, it's values and fields - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "linked_attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } }, "details": [ "string" ], "success": true } ``` --- # List application attributes Source: https://docs.enad.io/management/management-api/v1/reference/attributes/get-api-v1-team-slug-app-slug-attributes-values Retrieves all attributes for the current application with support for pagination, filtering by template keys, searching by name, and sorting by various fields. `GET /api/v1/{team_slug}/{app_slug}/attributes/values` **Deprecated.** **Responses** - `200` — A list of attributes with pagination details - `400` — Invalid request (e.g., bad pagination parameters, invalid sort key) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Update attribute Source: https://docs.enad.io/management/management-api/v1/reference/attributes/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key Updates an existing attribute including its key, name, description, and field values. Field values are validated against the template's field types (e.g., image fields must be valid images, number fields must be numeric). For image fields, you may upload a file, pass a public image URL in the field key, or reference an existing app image by UUID via form field `image_id` when the field key is `image`, otherwise `_image_id`. `PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `key` (string) — Unique key for the attribute. This needs to be unique per template. - `name` (string) — VariantName for the attribute - `description` (string) — Description for the attribute Request body example: ```json { "key": "string", "name": "string", "description": "string" } ``` **Responses** - `200` — Attributes - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "linked_attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } }, "details": [ "string" ], "success": true } ``` --- # Bulk Update Attributes Source: https://docs.enad.io/management/management-api/v1/reference/attributes/patch-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk Partially updates multiple attributes for a specified attribute template. Only provided fields are modified; omitted fields remain unchanged. Supports various field types including text, number, boolean, color, images (via URL or base64), and image_object (via existing app image UUID). Automatically uploads images to Cloudflare when not referencing by id. Returns lists of successful and failed updates with detailed error reasons. `PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk` **Deprecated.** **Request body** (`application/json`, required) Attributes to update (max 50) - `items` (internal_pkg_webserver_v1.BulkPatchAttributeItem[], required) Request body example: ```json { "items": [ { "description": "string", "key": "string", "name": "string", "values": { "property1": null, "property2": null } } ] } ``` **Responses** - `200` — Attributes processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `404` — Attribute template not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed_patches": [ { "input": { "description": "string", "key": "string", "name": "string", "values": { "property1": null, "property2": null } }, "reason": "string" } ], "successful_patches": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ] }, "details": [ "string" ], "success": true } ``` --- # Create attribute Source: https://docs.enad.io/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-attribute-template-key Creates a new attribute using the specified template. Field values are validated against the template's field definitions (e.g., image fields require valid images, number fields must be numeric). For each template image field, send a file part using the field key, or a public image URL in the same form key, or reference an existing app image by UUID: use form field `image_id` when the field key is `image`, otherwise `_image_id` (e.g. `hero_image_id`). `POST /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `key` (string) — Used to update the key for the attribute. Leave blank if you don't want to update the key - `name` (string) — VariantName for the attribute - `description` (string) — Description for the attribute Request body example: ```json { "key": "string", "name": "string", "description": "string" } ``` **Responses** - `200` — Attributes - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Attributes Source: https://docs.enad.io/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-attribute-template-key-bulk Creates multiple attributes for a specified attribute template in a single operation. Supports various field types including text, number, boolean, color, images (via URL or base64), and image_object (via existing app image UUID). Automatically uploads images to Cloudflare when not referencing by id. Returns lists of successful and failed creations with detailed error reasons. `POST /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk` **Deprecated.** **Request body** (`application/json`, required) Attributes to create (max 50) - `items` (internal_pkg_webserver_v1.BulkCreateAttributeItem[], required) Request body example: ```json { "items": [ { "description": "string", "key": "string", "name": "string", "values": { "property1": null, "property2": null } } ] } ``` **Responses** - `200` — Attributes processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `404` — Attribute template not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed_creations": [ { "input": { "description": "string", "key": "string", "name": "string", "values": { "property1": null, "property2": null } }, "reason": "string" } ], "successful_creations": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Attribute-Item Relationships Source: https://docs.enad.io/management/management-api/v1/reference/attributes/post-api-v1-team-slug-app-slug-attributes-relationships-bulk Associates multiple attributes with multiple items in a single operation. Each relationship links one attribute to one or more items. Validates attribute existence before creating relationships. Returns lists of successful and failed associations with detailed error reasons. `POST /api/v1/{team_slug}/{app_slug}/attributes/relationships/bulk` **Deprecated.** **Request body** (`application/json`, required) Attribute-item relationships to create (max 50) - `items` (internal_pkg_webserver_v1.BulkAttributeRelationshipItem[], required) Request body example: ```json { "items": [ { "attribute_id": "string", "item_ids": [ "string" ] } ] } ``` **Responses** - `200` — Relationships processed successfully - `400` — Invalid request payload - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_adds": [ { "attribute_id": "string", "item_id": "string", "reason": "string" } ], "successful_adds": [ { "attribute_id": "string", "item_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # Link attributes Source: https://docs.enad.io/management/management-api/v1/reference/attributes/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-link-attribute-template-key-2-attribute-key-2 Creates a link between two attributes. When one linked attribute is added to a product, tag, or category, the other linked attribute is automatically added as well. `PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/link/{attribute_template_key_2}/{attribute_key_2}` **Deprecated.** **Responses** - `200` — Attribute link created - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "fields": [ { "created_at": "string", "id": "string", "key": "string", "name": "string", "type": "string", "updated_at": "string" } ], "filterable": true, "id": "string", "key": "string", "linked_attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } }, "details": [ "string" ], "success": true } ``` --- # Create attribute relationship Source: https://docs.enad.io/management/management-api/v1/reference/attributes/put-api-v1-team-slug-app-slug-attributes-attribute-template-key-attribute-key-relationship Creates relationships between an attribute and one or more items (products, tags, categories, etc.). Publishes a relationship creation event. `PUT /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/{attribute_key}/relationship` **Deprecated.** **Request body** (`application/json`, required) Items IDs you want to create a relationship with - `items` (string[]) Request body example: ```json { "items": [ "string" ] } ``` **Responses** - `200` — Attribute relationship created - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a brand Source: https://docs.enad.io/management/management-api/v1/reference/brands/delete-api-v1-team-slug-app-slug-brands-brand-id Deletes a brand and all its associated series by brand ID. Also removes any orphaned redirects associated with the deleted brand and series. `DELETE /api/v1/{team_slug}/{app_slug}/brands/{brand_id}` **Deprecated.** **Responses** - `200` — Brand deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a series Source: https://docs.enad.io/management/management-api/v1/reference/brands/delete-api-v1-team-slug-app-slug-brands-brand-id-series-series-id Deletes a series by series ID and brand ID. Validates that the series belongs to the specified brand. All products linked to the series will be moved to the parent brand. `DELETE /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}` **Deprecated.** **Responses** - `200` — Series deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all brands Source: https://docs.enad.io/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands Retrieves a paginated list of all brands for the app with optional filtering by name. Supports sorting by name, created_at, or updated_at in ascending or descending order. Includes brand details and all associated series for each brand. `GET /api/v1/{team_slug}/{app_slug}/brands` **Deprecated.** **Responses** - `200` — Brands returned successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover": { "id": "string", "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "id": "string", "url": "string" }, "name": "string", "series": [ { "id": "string", "name": "string", "slug": "string" } ], "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Retrieve a brand by ID Source: https://docs.enad.io/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id Retrieves a single brand and all its associated series by brand ID. Includes brand details, logo, cover image, description, translations, and all series under the brand. `GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}` **Deprecated.** **Responses** - `200` — Brand returned successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover": { "id": "string", "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "id": "string", "url": "string" }, "name": "string", "series": [ { "id": "string", "name": "string", "slug": "string" } ], "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all series for a brand Source: https://docs.enad.io/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id-series Retrieves all series belonging to the specified brand with optional filtering by name. Validates that the brand exists. Includes series details, logo, cover image, description, and translations for each series. `GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series` **Deprecated.** **Responses** - `200` — Series retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "brand": { "id": "string", "name": "string", "slug": "string" }, "cover": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "name": "string", "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Retrieve a series by ID Source: https://docs.enad.io/management/management-api/v1/reference/brands/get-api-v1-team-slug-app-slug-brands-brand-id-series-series-id Retrieves a single series by series ID and brand ID. Validates that the series belongs to the specified brand. Includes series details, logo, cover image, description, and translations. `GET /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}` **Deprecated.** **Responses** - `200` — Series retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "brand": { "id": "string", "name": "string", "slug": "string" }, "cover": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "name": "string", "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new brand Source: https://docs.enad.io/management/management-api/v1/reference/brands/post-api-v1-team-slug-app-slug-brands Creates a new brand with the provided name, slug, logo, cover image, and description. Validates that the brand name and slug are unique within the app. `POST /api/v1/{team_slug}/{app_slug}/brands` **Deprecated.** **Request body** (`application/json`, required) data on brand - `address` (internal_pkg_webserver_v1.BrandAddressRequest) - `cover_id` (string) - `description` (string) - `email` (string) - `logo_id` (string) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover_id": "string", "description": "string", "email": "string", "logo_id": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Brand created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover": { "id": "string", "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "id": "string", "url": "string" }, "name": "string", "series": [ { "id": "string", "name": "string", "slug": "string" } ], "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new series under a brand Source: https://docs.enad.io/management/management-api/v1/reference/brands/post-api-v1-team-slug-app-slug-brands-brand-id-series Creates a new series under the specified brand with the provided name, slug, logo, cover image, and description. Validates that the parent brand exists and that the series name and slug are unique. `POST /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series` **Deprecated.** **Request body** (`application/json`, required) data on series - `cover_id` (string) - `description` (string) - `email` (string) - `logo_id` (string) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "cover_id": "string", "description": "string", "email": "string", "logo_id": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Series created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "brand": { "id": "string", "name": "string", "slug": "string" }, "cover": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "name": "string", "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update an existing brand Source: https://docs.enad.io/management/management-api/v1/reference/brands/put-api-v1-team-slug-app-slug-brands-brand-id Updates an existing brand's name, slug, logo, cover image, and description. Validates that the brand exists and that the updated name/slug are unique. `PUT /api/v1/{team_slug}/{app_slug}/brands/{brand_id}` **Deprecated.** **Request body** (`application/json`, required) data on brand - `address` (internal_pkg_webserver_v1.BrandAddressRequest) - `cover_id` (string) - `description` (string) - `email` (string) - `logo_id` (string) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover_id": "string", "description": "string", "email": "string", "logo_id": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Brand updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "cover": { "id": "string", "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "id": "string", "url": "string" }, "name": "string", "series": [ { "id": "string", "name": "string", "slug": "string" } ], "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update an existing series Source: https://docs.enad.io/management/management-api/v1/reference/brands/put-api-v1-team-slug-app-slug-brands-brand-id-series-series-id Updates an existing series' name, slug, logo, cover image, and description. Validates that the parent brand exists and that the series belongs to the specified brand. Ensures the updated name/slug are unique. `PUT /api/v1/{team_slug}/{app_slug}/brands/{brand_id}/series/{series_id}` **Deprecated.** **Request body** (`application/json`, required) data on series - `cover_id` (string) - `description` (string) - `email` (string) - `logo_id` (string) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "cover_id": "string", "description": "string", "email": "string", "logo_id": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Series updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "brand": { "id": "string", "name": "string", "slug": "string" }, "cover": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "created_at": "string", "description": "string", "email": "string", "id": "string", "logo": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "name": "string", "slug": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a bundle rule Source: https://docs.enad.io/management/management-api/v1/reference/bundle-rules/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id Removes a bundle rule from a bundle. Note that bundles must have at least one rule. `DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}` **Responses** - `200` — Bundle rule deleted - `400` — Invalid request - `401` — Unauthorized access - `404` — Bundle rule not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all bundle rules Source: https://docs.enad.io/management/management-api/v1/reference/bundle-rules/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules Retrieves all bundle rules for a specific bundle, including their products, discount settings, and tag conditions. `GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules` **Responses** - `200` — List of bundle rules - `400` — Invalid request - `401` — Unauthorized access - `404` — Bundle not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "details": [ "string" ], "success": true } ``` --- # Get a bundle rule Source: https://docs.enad.io/management/management-api/v1/reference/bundle-rules/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id Retrieves a single bundle rule by its ID, including associated products, discount settings, and tag conditions. `GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}` **Responses** - `200` — Bundle rule - `400` — Invalid request - `401` — Unauthorized access - `404` — Bundle rule not found - `500` — Internal server error Response example, 200: ```json { "data": { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } }, "details": [ "string" ], "success": true } ``` --- # Create a bundle rule Source: https://docs.enad.io/management/management-api/v1/reference/bundle-rules/post-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules Creates a new bundle rule within a bundle, specifying products, quantity, discount settings, and optional tag conditions for product matching. `POST /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules` **Request body** (`application/json`, required) Bundle rule configuration - `discount_percentage` (integer) - `discount_type` (string) - `discounts` (internal_pkg_webserver_v1.BundleGroupDiscount[]) - `exclude_discounted_price` (boolean) — If products with discounts should be excluded from the bundle - `exclude_full_price` (boolean) — If products with no discounts should be excluded from the bundle - `items` (string[], required) — Ensure at least one element is present - `quantity` (integer) - `tag_conditions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.TagConditionsReq) Request body example: ```json { "discount_percentage": 0, "discount_type": "string", "discounts": [ { "amount_cents": 0, "currency_code": "string" } ], "exclude_discounted_price": true, "exclude_full_price": true, "items": [ "string" ], "quantity": 0, "tag_conditions": { "brands": { "ids": [ "string" ], "mode": "include" }, "categories": { "ids": [ "string" ], "mode": "include" }, "collections": { "ids": [ "string" ], "mode": "include" }, "series": { "ids": [ "string" ], "mode": "include" }, "tags": { "ids": [ "string" ], "mode": "include" } } } ``` **Responses** - `200` — Bundle rule created successfully - `201` — Successful response - `400` — Invalid request - `401` — Unauthorized access - `404` — Bundle not found - `500` — Internal server error Response example, 200: ```json { "data": { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } }, "details": [ "string" ], "success": true } ``` --- # Update a bundle rule Source: https://docs.enad.io/management/management-api/v1/reference/bundle-rules/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id-rules-rule-id Updates an existing bundle rule's configuration including products, quantity, discount settings, and tag conditions. `PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}/rules/{rule_id}` **Request body** (`application/json`, required) Bundle rule configuration - `discount_percentage` (integer) - `discount_type` (string) - `discounts` (internal_pkg_webserver_v1.BundleGroupDiscount[]) - `exclude_discounted_price` (boolean) — If products with discounts should be excluded from the bundle - `exclude_full_price` (boolean) — If products with no discounts should be excluded from the bundle - `items` (string[], required) — Ensure at least one element is present - `quantity` (integer) - `tag_conditions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.TagConditionsReq) Request body example: ```json { "discount_percentage": 0, "discount_type": "string", "discounts": [ { "amount_cents": 0, "currency_code": "string" } ], "exclude_discounted_price": true, "exclude_full_price": true, "items": [ "string" ], "quantity": 0, "tag_conditions": { "brands": { "ids": [ "string" ], "mode": "include" }, "categories": { "ids": [ "string" ], "mode": "include" }, "collections": { "ids": [ "string" ], "mode": "include" }, "series": { "ids": [ "string" ], "mode": "include" }, "tags": { "ids": [ "string" ], "mode": "include" } } } ``` **Responses** - `200` — Bundle rule updated successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Bundle rule not found - `500` — Internal server error Response example, 200: ```json { "data": { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } }, "details": [ "string" ], "success": true } ``` --- # Bulk Delete Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-bulk Deletes multiple categories simultaneously in a single bulk operation. Supports recursive deletion of category hierarchies (up to 100 categories), automatically removing all child categories, associated translations, and orphaned redirects. `DELETE /api/v1/{team_slug}/{app_slug}/categories/bulk` **Deprecated.** **Request body** (`application/json`, required) Category IDs to delete - `category_ids` (string[], required) Request body example: ```json { "category_ids": [ "string" ] } ``` **Responses** - `200` — Categories deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete Category Source: https://docs.enad.io/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-category-id Deletes a category and all its child categories recursively, along with associated translations and redirects `DELETE /api/v1/{team_slug}/{app_slug}/categories/{category_id}` **Deprecated.** **Responses** - `200` — The category - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk Remove Products from Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/delete-api-v1-team-slug-app-slug-categories-products-bulk Removes multiple products from multiple categories simultaneously in a single bulk operation. Supports up to 50 category-product relationship items per request, automatically publishing update events for affected products. `DELETE /api/v1/{team_slug}/{app_slug}/categories/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and category relationships to delete - `items` (internal_pkg_webserver_v1.BulkCategoryProductRelationshipItem[], required) Request body example: ```json { "items": [ { "category_id": "string", "products": [ { "is_main_category": true, "order": 0, "product_id": "string" } ] } ] } ``` **Responses** - `200` — Products removed from categories successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "category_id": "string", "product_id": "string", "reason": "string" } ], "successful": [ { "category_id": "string", "products": [ { "is_main_category": true, "order": 0, "product_id": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # List Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories Retrieves a paginated list of categories for an app with optional search, sorting, and filtering capabilities `GET /api/v1/{team_slug}/{app_slug}/categories` **Deprecated.** **Responses** - `200` — Categories list - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get Category Source: https://docs.enad.io/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-category-id Retrieves a single category by ID, including its children, translations, attributes, and redirects `GET /api/v1/{team_slug}/{app_slug}/categories/{category_id}` **Deprecated.** **Responses** - `200` — The category - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # Get Category Products Source: https://docs.enad.io/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-category-id-products Retrieves a paginated list of products associated with a specific category `GET /api/v1/{team_slug}/{app_slug}/categories/{category_id}/products` **Deprecated.** **Responses** - `200` — Got a list of all products from category - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get Category Tree Source: https://docs.enad.io/management/management-api/v1/reference/categories/get-api-v1-team-slug-app-slug-categories-tree Retrieves the hierarchical category tree structure for an app with parent-child relationships and optional sorting `GET /api/v1/{team_slug}/{app_slug}/categories/tree` **Deprecated.** **Responses** - `200` — Categories tree - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Bulk Update Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/patch-api-v1-team-slug-app-slug-categories-bulk Updates multiple categories simultaneously in a single bulk operation. Supports partial updates for up to 50 categories per request, including name, slug, parent, status, translations, and sort order modifications. `PATCH /api/v1/{team_slug}/{app_slug}/categories/bulk` **Deprecated.** **Request body** (`application/json`, required) Categories data to update - `categories` (internal_pkg_webserver_v1.BulkPatchCategoryItem[], required) Request body example: ```json { "categories": [ { "childless": true, "cover_id": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "active", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] } } ] } ``` **Responses** - `200` — Categories updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update Category Source: https://docs.enad.io/management/management-api/v1/reference/categories/patch-api-v1-team-slug-app-slug-categories-category-id Updates a category with partial data. Only provided fields are updated. If parent_id is omitted or null, the category becomes a root category `PATCH /api/v1/{team_slug}/{app_slug}/categories/{category_id}` **Deprecated.** **Request body** (`application/json`, required) Category data - `childless` (boolean) - `cover_id` (string) — CoverID controls the category's cover image. When omitted, the cover is not changed. When set to a UUID, the image is validated and assigned. When set to null, the cover is removed. - `description` (string) - `google_product_category_id` (string) — related google product category in https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt - `name` (string) - `parent_id` (string) - `seo` (internal_pkg_webserver_v1.InputUpdateCategorySEO) - `slug` (string) - `sort_order` (integer) - `status` (string) - `translations` (github_com_enadhq_nabbit_internal_pkg_webserver_models.CategoryTranslations) Request body example: ```json { "childless": true, "cover_id": "string", "description": "string", "google_product_category_id": "string", "name": "string", "parent_id": "string", "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "active", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] } } ``` **Responses** - `200` — The category - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # Create Category Source: https://docs.enad.io/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories Creates a new category with optional parent, translations, and sort order `POST /api/v1/{team_slug}/{app_slug}/categories` **Deprecated.** **Request body** (`application/json`, required) Category data - `childless` (boolean) - `cover_id` (string) - `description` (string) - `google_product_category_id` (string) — related google product category in https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt - `name` (string, required) - `parent_id` (string) - `seo` (internal_pkg_webserver_v1.InputCategorySEO) - `slug` (string, required) - `sort_order` (integer) - `status` (string) - `translations` (github_com_enadhq_nabbit_internal_pkg_webserver_models.CategoryTranslations) Request body example: ```json { "childless": true, "cover_id": "string", "description": "string", "google_product_category_id": "string", "name": "string", "parent_id": "string", "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "active", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] } } ``` **Responses** - `200` — The category - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories-bulk Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order. `POST /api/v1/{team_slug}/{app_slug}/categories/bulk` **Deprecated.** **Request body** (`application/json`, required) Categories data to create - `categories` (internal_pkg_webserver_v1.InputCategory[], required) Request body example: ```json { "categories": [ { "childless": true, "cover_id": "string", "description": "string", "google_product_category_id": "string", "name": "string", "parent_id": "string", "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "active", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] } } ] } ``` **Responses** - `201` — Categories created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "failed": [ { "name": "string", "reason": "string", "slug": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Add Products to Categories Source: https://docs.enad.io/management/management-api/v1/reference/categories/post-api-v1-team-slug-app-slug-categories-products-bulk Adds multiple products to multiple categories simultaneously in a single bulk operation. Supports up to 50 category-product relationship items per request, automatically handling sort order and publishing update events for affected products and categories. `POST /api/v1/{team_slug}/{app_slug}/categories/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and category relationships to create - `items` (internal_pkg_webserver_v1.BulkCategoryProductRelationshipItem[], required) Request body example: ```json { "items": [ { "category_id": "string", "products": [ { "is_main_category": true, "order": 0, "product_id": "string" } ] } ] } ``` **Responses** - `200` — Products added to categories successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "category_id": "string", "product_id": "string", "reason": "string" } ], "successful": [ { "category_id": "string", "products": [ { "is_main_category": true, "order": 0, "product_id": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Delete a channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id Deletes a channel. Related records are cascade-deleted by the database. `DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}` **Deprecated.** **Responses** - `200` — Channel deleted successfully - `400` — Invalid channel ID - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "message": "string", "success": true } ``` --- # Delete Channel Content Override Source: https://docs.enad.io/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-content-content-id Permanently deletes a channel content override and all its associated relationships by ID. `DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/{content_id}` **Deprecated.** **Responses** - `200` — OK - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk remove products from channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-products Removes many products from a channel. IDs that were not members go in `successful` (post-condition idempotent). Unknown product IDs go in `failed`. `DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products` **Deprecated.** **Request body** (`application/json`, required) Product IDs to remove - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Bulk remove result - `400` — Invalid request - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "channel_id": "string", "created_at": "string", "product_id": "string", "status": "string", "status_updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Remove product from channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/delete-api-v1-team-slug-app-slug-channels-channel-id-products-product-id Removes a product from a channel. Returns 200 even if the product was not a member. `DELETE /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}` **Deprecated.** **Responses** - `200` — Membership removed - `400` — Invalid request - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "message": "string", "success": true } ``` --- # List channels Source: https://docs.enad.io/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels Retrieves all channels for the app, including their associated tag rules. `GET /api/v1/{team_slug}/{app_slug}/channels` **Deprecated.** **Responses** - `200` — Channels retrieved successfully - `500` — Internal server error Response example, 200: ```json { "data": [ { "active": true, "created_at": "string", "description": "string", "effective_publishing_rule": { "created_at": "string", "id": "string", "is_default": true, "minimum_images": 0, "name": "string", "should_have_brand": true, "should_have_category": true, "should_have_description": true, "should_have_main_category": true, "should_have_price": true, "should_have_product_name": true, "updated_at": "string" }, "id": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string", "store_group_id": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels-channel-id Retrieves a channel by its ID, including all associated tag rules. `GET /api/v1/{team_slug}/{app_slug}/channels/{channel_id}` **Deprecated.** **Responses** - `200` — Channel retrieved successfully - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "created_at": "string", "description": "string", "effective_publishing_rule": { "created_at": "string", "id": "string", "is_default": true, "minimum_images": 0, "name": "string", "should_have_brand": true, "should_have_category": true, "should_have_description": true, "should_have_main_category": true, "should_have_price": true, "should_have_product_name": true, "updated_at": "string" }, "id": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string", "store_group_id": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List Channel Content Overrides by Parent Source: https://docs.enad.io/management/management-api/v1/reference/channels/get-api-v1-team-slug-app-slug-channels-channel-id-content-parent-parent-id Retrieves all channel content overrides for a specific product or variant within a channel. `GET /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/parent/{parent_id}` **Deprecated.** **Responses** - `200` — OK - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 200: ```json { "data": [ { "created_at": "string", "field_type": "string", "id": "string", "parent_id": "string", "parent_type": "string", "preview": [ "string" ], "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "updated_at": "string", "value": "string" } ], "details": [ "string" ], "success": true } ``` --- # Update a channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id Updates a channel's name, slug, description, and active status. `PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}` **Deprecated.** **Request body** (`application/json`, required) Channel update data - `active` (boolean) - `description` (string) - `market_ids` (string[]) - `name` (string, required) - `publishing_rule_id` (string) - `slug` (string, required) Request body example: ```json { "active": true, "description": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string" } ``` **Responses** - `200` — Channel updated successfully - `400` — Invalid request - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "created_at": "string", "description": "string", "effective_publishing_rule": { "created_at": "string", "id": "string", "is_default": true, "minimum_images": 0, "name": "string", "should_have_brand": true, "should_have_category": true, "should_have_description": true, "should_have_main_category": true, "should_have_price": true, "should_have_product_name": true, "updated_at": "string" }, "id": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string", "store_group_id": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Update Channel Content Overrides Source: https://docs.enad.io/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-content-bulk Updates multiple existing channel content overrides in a single operation. Supports partial success — individual failures don't affect successful updates. `PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/bulk` **Deprecated.** **Request body** (`application/json`, required) Channel content data to update - `content` (internal_pkg_webserver_v1.BulkUpdateChannelContentItem[], required) Request body example: ```json { "content": [ { "content_id": "string", "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" } ] } ``` **Responses** - `200` — OK - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 200: ```json { "data": { "failed": [ { "payload": { "content_id": "string", "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" }, "reason": "string" } ], "successful": [ { "created_at": "string", "field_type": "string", "id": "string", "parent_id": "string", "parent_type": "string", "preview": [ "string" ], "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "updated_at": "string", "value": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update Channel Content Override Source: https://docs.enad.io/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-content-content-id Partially updates an existing channel content override. Allows modification of text values or relationship associations based on the field type. `PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/{content_id}` **Deprecated.** **Request body** (`application/json`, required) Channel content update data - `relationships` (string[]) - `translations` (github_com_enadhq_nabbit_internal_pkg_webserver_models.LocalizedValue[]) - `value` (string) Request body example: ```json { "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" } ``` **Responses** - `200` — OK - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 200: ```json { "data": { "created_at": "string", "field_type": "string", "id": "string", "parent_id": "string", "parent_type": "string", "preview": [ "string" ], "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "updated_at": "string", "value": "string" }, "details": [ "string" ], "success": true } ``` --- # Set product channel status Source: https://docs.enad.io/management/management-api/v1/reference/channels/patch-api-v1-team-slug-app-slug-channels-channel-id-products-product-id-status Sets a product's publishing status on a channel. Requires an existing channel membership row for the product. Allowed status values are `active`, `inactive`, and `incomplete`. `PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}/status` **Deprecated.** **Request body** (`application/json`, required) Channel status payload - `status` (string, required) Request body example: ```json { "status": "active" } ``` **Responses** - `200` — Updated product channel status - `400` — Invalid request - `404` — Channel, product, or membership not found - `422` — Status validation failed - `500` — Internal server error Response example, 200: ```json { "data": { "channel_id": "string", "created_at": "string", "product_id": "string", "status": "string", "status_updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels Creates a new channel linked to a store group and optional market. Validates the store group and market exist before creation. `POST /api/v1/{team_slug}/{app_slug}/channels` **Deprecated.** **Request body** (`application/json`, required) Channel data - `active` (boolean) - `description` (string) - `market_ids` (string[]) - `name` (string, required) - `publishing_rule_id` (string) - `slug` (string, required) - `store_group_id` (string, required) Request body example: ```json { "active": true, "description": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string", "store_group_id": "string" } ``` **Responses** - `201` — Channel created successfully - `400` — Invalid request - `404` — Store group or market not found - `500` — Internal server error Response example, 201: ```json { "data": { "active": true, "created_at": "string", "description": "string", "effective_publishing_rule": { "created_at": "string", "id": "string", "is_default": true, "minimum_images": 0, "name": "string", "should_have_brand": true, "should_have_category": true, "should_have_description": true, "should_have_main_category": true, "should_have_price": true, "should_have_product_name": true, "updated_at": "string" }, "id": "string", "market_ids": [ "string" ], "name": "string", "publishing_rule_id": "string", "slug": "string", "store_group_id": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create Channel Content Override Source: https://docs.enad.io/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-content Creates or updates a channel content override for a product or variant. Supports text fields (name, description, slug, etc.) and relationship fields (category, collection, tag, attribute, image). `POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content` **Deprecated.** **Request body** (`application/json`, required) Channel content data - `field_type` (string, required) - `parent_id` (string, required) - `parent_type` (string, required) - `relationships` (string[] | null) - `translations` (github_com_enadhq_nabbit_internal_pkg_webserver_models.LocalizedValue[] | null) - `value` (string | null) Request body example: ```json { "field_type": "name", "parent_id": "string", "parent_type": "product", "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" } ``` **Responses** - `200` — OK - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 200: ```json { "data": { "created_at": "string", "field_type": "string", "id": "string", "parent_id": "string", "parent_type": "string", "preview": [ "string" ], "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "updated_at": "string", "value": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Channel Content Overrides Source: https://docs.enad.io/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-content-bulk Creates or updates multiple channel content overrides for products or variants in a single operation. Supports partial success — individual failures don't affect successful creations. `POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/content/bulk` **Deprecated.** **Request body** (`application/json`, required) Channel content data to create - `content` (internal_pkg_webserver_v1.InputCreateChannelContent[], required) Request body example: ```json { "content": [ { "field_type": "name", "parent_id": "string", "parent_type": "product", "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" } ] } ``` **Responses** - `201` — Created - `400` — Bad Request - `404` — Not Found - `500` — Internal Server Error Response example, 201: ```json { "data": { "failed": [ { "payload": { "field_type": "name", "parent_id": "string", "parent_type": "product", "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "value": "string" }, "reason": "string" } ], "successful": [ { "created_at": "string", "field_type": "string", "id": "string", "parent_id": "string", "parent_type": "string", "preview": [ "string" ], "relationships": [ "string" ], "translations": [ { "language_code": "string", "value": "string" } ], "updated_at": "string", "value": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk add products to channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/post-api-v1-team-slug-app-slug-channels-channel-id-products Adds many products to a channel in one transaction. Each product's status is computed from the channel's effective publishing rule. Already-members are refreshed and returned in `successful`. Invalid IDs go in `failed` with a reason. `POST /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products` **Deprecated.** **Request body** (`application/json`, required) Product IDs to add - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Bulk add result - `400` — Invalid request - `404` — Channel not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "channel_id": "string", "created_at": "string", "product_id": "string", "status": "string", "status_updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Add product to channel Source: https://docs.enad.io/management/management-api/v1/reference/channels/put-api-v1-team-slug-app-slug-channels-channel-id-products-product-id Adds a product to a channel as an explicit member. The status field is computed synchronously from the channel's effective publishing rule. Re-adding an existing member is an idempotent refresh. `PUT /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}` **Deprecated.** **Responses** - `200` — Membership added - `400` — Invalid request - `404` — Channel or product not found - `500` — Internal server error Response example, 200: ```json { "data": { "channel_id": "string", "created_at": "string", "product_id": "string", "status": "string", "status_updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk delete collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-bulk Deprecated: Use the Collections V2 API. Deletes multiple collections by their IDs in a single request. Accepts up to 100 collection IDs. Also removes associated translations. Returns lists of successful and failed deletions. `DELETE /api/v1/{team_slug}/{app_slug}/collections/bulk` **Deprecated.** **Request body** (`application/json`, required) Collection IDs to delete - `collection_ids` (string[], required) Request body example: ```json { "collection_ids": [ "string" ] } ``` **Responses** - `200` — Collections deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete a collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-collection-id Deprecated: Use the Collections V2 API. Permanently deletes a collection, its translations, and associated redirects. `DELETE /api/v1/{team_slug}/{app_slug}/collections/{collection_id}` **Deprecated.** **Responses** - `200` — Collection deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove products from collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-collection-id-products Deprecated: Use the Collections V2 API. Removes one or more products from a collection. Products remain in the system but are no longer associated with the collection. `DELETE /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products` **Deprecated.** **Request body** (`application/json`, required) Product IDs to delete - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Collection updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk remove products from collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/delete-api-v1-team-slug-app-slug-collections-products-bulk Deprecated: Use the Collections V2 API. Removes multiple products from multiple collections in a single request. Accepts up to 50 collection-product relationships. Returns lists of successful and failed removals. `DELETE /api/v1/{team_slug}/{app_slug}/collections/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and collection relationships to delete - `items` (internal_pkg_webserver_v1.BulkCollectionProductRelationshipItem[], required) Request body example: ```json { "items": [ { "collection_id": "string", "product_ids": [ "string" ] } ] } ``` **Responses** - `200` — Products removed from collections successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "collection_id": "string", "product_id": "string", "reason": "string" } ], "successful": [ { "collection_id": "string", "product_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # List all collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections Deprecated: Use the Collections V2 API. Retrieves paginated list of collections with translations and redirects. Supports search filtering and pagination. `GET /api/v1/{team_slug}/{app_slug}/collections` **Deprecated.** **Responses** - `200` — All collections for the app - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a collection by ID Source: https://docs.enad.io/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-collection-id Deprecated: Use the Collections V2 API. Retrieves a collection with all translations, redirects, and its children (nested collections). `GET /api/v1/{team_slug}/{app_slug}/collections/{collection_id}` **Deprecated.** **Responses** - `200` — Collection updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # List products in a collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-collection-id-products Deprecated: Use the Collections V2 API. Products are included on GET /collections/{collection_id}. Retrieves paginated list of products in a collection. Optionally includes products from child collections using the 'children' query parameter. `GET /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products` **Deprecated.** **Responses** - `200` — Got a list of all products from collection - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get collection tree Source: https://docs.enad.io/management/management-api/v1/reference/collections/get-api-v1-team-slug-app-slug-collections-tree Deprecated: Use the Collections V2 API. Retrieves all collections organized as a nested tree structure based on parent-child relationships, with translations and redirects. `GET /api/v1/{team_slug}/{app_slug}/collections/tree` **Deprecated.** **Responses** - `200` — All collections for the app - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Bulk update collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/patch-api-v1-team-slug-app-slug-collections-bulk Deprecated: Use the Collections V2 API. Updates multiple collections in a single request. Accepts up to 50 collections with partial updates to title, slug, status, or parent. Returns lists of successful and failed updates. `PATCH /api/v1/{team_slug}/{app_slug}/collections/bulk` **Deprecated.** **Request body** (`application/json`, required) Collections data to update - `collections` (internal_pkg_webserver_v1.BulkPatchCollectionItem[], required) Request body example: ```json { "collections": [ { "id": "string", "parent_id": "string", "slug": "string", "status": "active", "title": "string" } ] } ``` **Responses** - `200` — Collections updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update a collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/patch-api-v1-team-slug-app-slug-collections-collection-id Deprecated: Use the Collections V2 API. Updates collection properties (title, slug, status, parent). Automatically creates redirects when slug changes if automation is enabled. `PATCH /api/v1/{team_slug}/{app_slug}/collections/{collection_id}` **Deprecated.** **Request body** (`application/json`, required) Collection data - `parent_id` (string) — To move collection to root, send empty string - `slug` (string) - `status` (string) - `title` (string) Request body example: ```json { "parent_id": "string", "slug": "string", "status": "active", "title": "string" } ``` **Responses** - `200` — Collection updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections Deprecated: Use the Collections V2 API. Creates a new collection with the specified title, slug, status, and optional parent. Returns the created collection with translations and redirects. `POST /api/v1/{team_slug}/{app_slug}/collections` **Deprecated.** **Request body** (`application/json`, required) Collection data - `parent_id` (string) - `slug` (string, required) - `status` (string, required) - `title` (string, required) Request body example: ```json { "parent_id": "string", "slug": "string", "status": "active", "title": "string" } ``` **Responses** - `200` — Collection created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk create collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections-bulk Deprecated: Use the Collections V2 API. Creates multiple collections in a single request. Accepts up to 50 collections with optional parent relationships. Returns lists of successful and failed creations. `POST /api/v1/{team_slug}/{app_slug}/collections/bulk` **Deprecated.** **Request body** (`application/json`, required) Collections data to create - `collections` (internal_pkg_webserver_v1.CollectionRequest[], required) Request body example: ```json { "collections": [ { "parent_id": "string", "slug": "string", "status": "active", "title": "string" } ] } ``` **Responses** - `201` — Collections created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "failed": [ { "reason": "string", "slug": "string", "title": "string" } ], "successful": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk add products to collections Source: https://docs.enad.io/management/management-api/v1/reference/collections/post-api-v1-team-slug-app-slug-collections-products-bulk Deprecated: Use the Collections V2 API. Adds multiple products to multiple collections in a single request. Accepts up to 50 collection-product relationships. Each collection can only appear once per request to preserve product order. Returns lists of successful and failed additions. `POST /api/v1/{team_slug}/{app_slug}/collections/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and collection relationships to create - `items` (internal_pkg_webserver_v1.BulkCollectionProductRelationshipItem[], required) Request body example: ```json { "items": [ { "collection_id": "string", "product_ids": [ "string" ] } ] } ``` **Responses** - `200` — Products added to collections successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "collection_id": "string", "product_id": "string", "reason": "string" } ], "successful": [ { "collection_id": "string", "product_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # Add products to collection Source: https://docs.enad.io/management/management-api/v1/reference/collections/put-api-v1-team-slug-app-slug-collections-collection-id-products Deprecated: Use the Collections V2 API. Adds one or more products to a collection. Validates that products exist and are not deleted before association. `PUT /api/v1/{team_slug}/{app_slug}/collections/{collection_id}/products` **Deprecated.** **Request body** (`application/json`, required) Product IDs to add - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Collection updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a custom role Source: https://docs.enad.io/management/management-api/v1/reference/custom-roles/delete-api-v1-team-slug-app-slug-custom-roles-custom-role-id Permanently deletes a custom role. `DELETE /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}` **Deprecated.** **Responses** - `200` — Custom Role deleted successfully - `400` — Invalid request (e.g. bad custom role ID format) - `401` — Unauthorized access - `404` — Not found - `409` — Conflict - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all custom roles within pagination Source: https://docs.enad.io/management/management-api/v1/reference/custom-roles/get-api-v1-team-slug-app-slug-custom-roles List all custom roles within an app `GET /api/v1/{team_slug}/{app_slug}/custom-roles` **Deprecated.** **Responses** - `200` — List of app custom roles - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "app_id": "string", "created_at": "string", "id": "string", "is_default": true, "name": "string", "slug": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a custom role Source: https://docs.enad.io/management/management-api/v1/reference/custom-roles/get-api-v1-team-slug-app-slug-custom-roles-custom-role-id Get a custom role that can be set on users. `GET /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}` **Deprecated.** **Responses** - `200` — Got Custom role successfully - `400` — Invalid request (e.g. id not uuid) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "id": "string", "is_default": true, "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a custom role Source: https://docs.enad.io/management/management-api/v1/reference/custom-roles/post-api-v1-team-slug-app-slug-custom-roles Create a custom role that can be set on users. `POST /api/v1/{team_slug}/{app_slug}/custom-roles` **Deprecated.** **Request body** (`application/json`, required) custom role details - `is_default` (boolean) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "is_default": true, "name": "string", "slug": "string" } ``` **Responses** - `200` — custom role created successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `409` — Conflict (e.g. already exists) - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "id": "string", "is_default": true, "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a custom role Source: https://docs.enad.io/management/management-api/v1/reference/custom-roles/put-api-v1-team-slug-app-slug-custom-roles-custom-role-id Update a custom role that can be set on users. `PUT /api/v1/{team_slug}/{app_slug}/custom-roles/{custom_role_id}` **Deprecated.** **Request body** (`application/json`, required) custom role details - `is_default` (boolean) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "is_default": true, "name": "string", "slug": "string" } ``` **Responses** - `200` — custom role created successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Not found - `409` — Conflict (e.g. already exists) - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "id": "string", "is_default": true, "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk delete customer group product variant prices Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/delete-api-v1-team-slug-app-slug-customer-group-prices Deletes multiple customer group product variant prices by their IDs. Accepts up to 100 price IDs. Returns lists of successfully deleted and failed deletion attempts. `DELETE /api/v1/{team_slug}/{app_slug}/customer-group-prices` **Deprecated.** **Request body** (`application/json`, required) Price IDs to delete - `price_ids` (string[], required) Request body example: ```json { "price_ids": [ "string" ] } ``` **Responses** - `200` — Prices deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete a customer group Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/delete-api-v1-team-slug-app-slug-customer-groups-customer-group-id Permanently deletes a customer group. `DELETE /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}` **Deprecated.** **Responses** - `200` — Customer Group deleted successfully - `400` — Invalid request (e.g. bad customer group ID format) - `401` — Unauthorized access - `404` — Not found - `409` — Conflict - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Get a customer group product variant price Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-group-prices-customer-group-price-id Returns a single customer group product variant price by its ID. `GET /api/v1/{team_slug}/{app_slug}/customer-group-prices/{customer_group_price_id}` **Deprecated.** **Responses** - `200` — Price - `400` — Invalid request - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "customer_group": { "id": "string", "name": "string", "slug": "string" }, "id": "string", "market": { "id": "string", "name": "string", "slug": "string" }, "price_amount": 0, "product_variant": { "id": "string", "variant_name": "string" }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all customer groups with pagination Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups List all customer groups within an app `GET /api/v1/{team_slug}/{app_slug}/customer-groups` **Deprecated.** **Responses** - `200` — List of app customer groups - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "name": "string", "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a customer group Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups-customer-group-id Get a customer group with its details and discount and/or store group configuration. `GET /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}` **Deprecated.** **Responses** - `200` — Got Customer group successfully - `400` — Invalid request (e.g. id not uuid) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "merchant_users": [ { "email": "string", "id": "string" } ], "merchant_users_total": 0, "name": "string", "organisations": [ { "id": "string", "name": "string" } ], "organisations_total": 0, "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List customer group product variant prices Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/get-api-v1-team-slug-app-slug-customer-groups-customer-group-id-prices Returns a paginated list of product variant prices associated with a customer group. `GET /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}/prices` **Deprecated.** **Responses** - `200` — List of prices - `400` — Invalid request - `401` — Unauthorized access - `404` — Customer group not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "market": { "id": "string", "name": "string", "slug": "string" }, "price_amount": 0, "product_variant": { "id": "string", "variant_name": "string" }, "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Create a customer group Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/post-api-v1-team-slug-app-slug-customer-groups Create a customer group for customer specific pricing. `POST /api/v1/{team_slug}/{app_slug}/customer-groups` **Deprecated.** **Request body** (`application/json`, required) customer group details - `discount_percentage` (integer) - `discount_percentage_decimals` (integer) - `name` (string, required) - `slug` (string, required) - `store_group_id` (string, required) - `type` (string, required) Request body example: ```json { "discount_percentage": 0, "discount_percentage_decimals": 0, "name": "string", "slug": "string", "store_group_id": "string", "type": "CUSTOM_PRICES" } ``` **Responses** - `200` — customer group created successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `409` — Conflict (e.g. already exists) - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "name": "string", "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk upsert customer group product variant prices Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/put-api-v1-team-slug-app-slug-customer-group-prices Creates or updates prices for product variants within customer groups and markets in bulk. Accepts up to 100 price items. `PUT /api/v1/{team_slug}/{app_slug}/customer-group-prices` **Deprecated.** **Request body** (`application/json`, required) Prices data - `prices` (internal_pkg_webserver_v1.InputCustomerGroupProductVariantPriceItem[], required) Request body example: ```json { "prices": [ { "customer_group_id": "string", "market_id": "string", "price_amount": 0, "product_variant_id": "string" } ] } ``` **Responses** - `200` — Prices created or updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "customer_group_id": "string", "market_id": "string", "product_variant_id": "string", "reason": "string" } ], "successful": [ { "created_at": "string", "customer_group": { "id": "string", "name": "string", "slug": "string" }, "id": "string", "market": { "id": "string", "name": "string", "slug": "string" }, "price_amount": 0, "product_variant": { "id": "string", "variant_name": "string" }, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update a customer group Source: https://docs.enad.io/management/management-api/v1/reference/customer-groups/put-api-v1-team-slug-app-slug-customer-groups-customer-group-id Update a customer group for customer specific pricing. `PUT /api/v1/{team_slug}/{app_slug}/customer-groups/{customer_group_id}` **Deprecated.** **Request body** (`application/json`, required) customer group details - `discount_percentage` (integer) - `discount_percentage_decimals` (integer) - `name` (string, required) - `slug` (string, required) - `store_group_id` (string, required) - `type` (string, required) Request body example: ```json { "discount_percentage": 0, "discount_percentage_decimals": 0, "name": "string", "slug": "string", "store_group_id": "string", "type": "CUSTOM_PRICES" } ``` **Responses** - `200` — customer group updated successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Not found - `409` — Conflict (e.g. already exists) - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "name": "string", "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete DAM Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-folders-folder-id Deletes an empty Digital Asset Management folder. Folders containing images, videos, files, or subfolders cannot be deleted. Default folders cannot be deleted. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/folders instead. `DELETE /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}` **Deprecated.** **Responses** - `200` — Folder deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Remove Role from Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-folders-folder-id-roles-role-id Removes a role from a folder Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/folders/roles instead. `DELETE /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles/{role_id}` **Deprecated.** **Responses** - `200` — Role removed successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Role not found - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Delete a shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-shareable-links-link-id Permanently deletes a shareable link and removes all resource associations (folders, images, videos, files) Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id} instead. `DELETE /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Deprecated.** **Responses** - `200` — Shareable link deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `403` — Forbidden - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Remove resources from a shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/delete-api-v1-team-slug-app-slug-dam-shareable-links-link-id-resources Removes multiple folders, images, videos, and files from a shareable link in a single batch operation Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources instead. `DELETE /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources` **Deprecated.** **Request body** (`application/json`, required) Resources to remove - `file_ids` (string[]) - `folder_ids` (string[]) - `image_ids` (string[]) - `video_ids` (string[]) Request body example: ```json { "file_ids": [ "string" ], "folder_ids": [ "string" ], "image_ids": [ "string" ], "video_ids": [ "string" ] } ``` **Responses** - `200` — Resources removed successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "expires_at": "string", "file_ids": [ "string" ], "folder_ids": [ "string" ], "id": "string", "image_ids": [ "string" ], "token": "string", "updated_at": "string", "video_ids": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # List DAM Folders (Flat View) Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders Retrieves all accessible Digital Asset Management folders in a flat list with pagination support. Includes media counts and supports sorting by name, creation date, or update date. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders` **Deprecated.** **Responses** - `200` — Folders retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get DAM Folder by ID Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id Retrieves a single Digital Asset Management folder by ID, including counts of images, videos, and files within the folder Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id} instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}` **Deprecated.** **Responses** - `200` — Folder retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "details": [ "string" ], "success": true } ``` --- # Get Folder Media Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-media Retrieves all media (images, videos, files) for a specific folder with pagination, sorting, attribute filtering, and full-text search. Returns matching items plus attribute-based facet counts. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/media instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/media` **Deprecated.** **Responses** - `200` — Media retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "facets": [ { "template_key": "string", "template_name": "string", "values": [ { "active": true, "count": 0, "key": "string", "name": "string" } ] } ], "items": [ { "blurhash": "string", "created_at": "string", "description": "string", "folder": { "id": "string", "name": "string", "slug": "string" }, "id": "string", "status": "string", "title": "string", "type": "image", "updated_at": "string", "url": "string" } ] }, "success": true, "total": 0, "total_pages": 0 } ``` --- # List Folder Roles Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-roles Lists the app role IDs granted access to a folder Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles` **Deprecated.** **Responses** - `200` — Folder roles retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": [ "string" ], "details": [ "string" ], "success": true } ``` --- # Get Folder Tree from Path Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-folder-id-tree Retrieves a folder tree starting from a specific folder Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree` **Deprecated.** **Responses** - `200` — Folder tree retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": { "children": [ {} ], "folder": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } }, "details": [ "string" ], "success": true } ``` --- # Get DAM Folder Hierarchy Tree Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-folders-tree Retrieves the complete hierarchical tree of all accessible Digital Asset Management folders with nested child folders and media counts Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/tree instead. `GET /api/v1/{team_slug}/{app_slug}/dam/folders/tree` **Deprecated.** **Responses** - `200` — Folder tree retrieved successfully - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "children": [ {} ], "folder": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } } ], "details": [ "string" ], "success": true } ``` --- # Search DAM Media Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-media-search Searches images, videos, and files across all accessible folders via blockbox. Returns matching media items plus attribute-based facet counts. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/media/search instead. `GET /api/v1/{team_slug}/{app_slug}/dam/media/search` **Deprecated.** **Responses** - `200` — Search results - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "facets": [ { "template_key": "string", "template_name": "string", "values": [ { "active": true, "count": 0, "key": "string", "name": "string" } ] } ], "items": [ { "blurhash": "string", "created_at": "string", "description": "string", "folder": { "id": "string", "name": "string", "slug": "string" }, "id": "string", "status": "string", "title": "string", "type": "image", "updated_at": "string", "url": "string" } ] }, "success": true, "total": 0, "total_pages": 0 } ``` --- # List all shareable links Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-shareable-links Retrieves a paginated list of all shareable links for the app, with optional filtering by folder ID Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links instead. `GET /api/v1/{team_slug}/{app_slug}/dam/shareable-links` **Deprecated.** **Responses** - `200` — Shareable links retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `403` — Forbidden - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "description": "string", "expires_at": "string", "file_ids": [ "string" ], "folder_ids": [ "string" ], "id": "string", "image_ids": [ "string" ], "token": "string", "updated_at": "string", "video_ids": [ "string" ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a specific shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/get-api-v1-team-slug-app-slug-dam-shareable-links-link-id Retrieves detailed information about a specific shareable link including all associated folders, images, videos, and files with full resource details Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id} instead. `GET /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Deprecated.** **Responses** - `200` — Shareable link retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "expires_at": "string", "folders": [ { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 } ], "id": "string", "items": [ { "blurhash": "string", "created_at": "string", "description": "string", "folder": { "id": "string", "name": "string", "slug": "string" }, "id": "string", "status": "string", "title": "string", "type": "image", "updated_at": "string", "url": "string" } ], "token": "string", "updated_at": "string" }, "success": true, "total": 0, "total_pages": 0 } ``` --- # Update DAM Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/patch-api-v1-team-slug-app-slug-dam-folders-folder-id Updates an existing Digital Asset Management folder's properties including name, parent folder, and visibility. The slug remains unchanged after updates to maintain consistent references. Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/folders instead. `PATCH /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}` **Deprecated.** **Request body** (`application/json`, required) Folder details - `name` (string, required) - `parent_id` (string) - `public` (boolean) Request body example: ```json { "name": "string", "parent_id": "string", "public": true } ``` **Responses** - `200` — Folder updated successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "details": [ "string" ], "success": true } ``` --- # Update a shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/patch-api-v1-team-slug-app-slug-dam-shareable-links-link-id Updates the description and/or expiration date of a specific shareable link Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id} instead. `PATCH /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}` **Deprecated.** **Request body** (`application/json`, required) Update details - `description` (string) - `expires_at` (string) Request body example: ```json { "description": "string", "expires_at": "string" } ``` **Responses** - `200` — Shareable link updated successfully - `400` — Invalid request - `401` — Unauthorized access - `403` — Forbidden - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "expires_at": "string", "file_ids": [ "string" ], "folder_ids": [ "string" ], "id": "string", "image_ids": [ "string" ], "token": "string", "updated_at": "string", "video_ids": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Create DAM Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-folders Creates a new Digital Asset Management folder with automatic slug generation from the name. The folder can be nested under a parent folder and configured as public or private. Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/folders instead. `POST /api/v1/{team_slug}/{app_slug}/dam/folders` **Deprecated.** **Request body** (`application/json`, required) Folder details - `name` (string, required) - `parent_id` (string) - `public` (boolean) Request body example: ```json { "name": "string", "parent_id": "string", "public": true } ``` **Responses** - `201` — Folder created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "created_at": "string", "file_count": 0, "has_content_access": true, "id": "string", "image_count": 0, "is_default": true, "name": "string", "parent_id": "string", "public": true, "slug": "string", "updated_at": "string", "video_count": 0 }, "details": [ "string" ], "success": true } ``` --- # Create a new shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-shareable-links Creates a new shareable link that allows sharing of DAM resources (folders, images, videos, files) with optional description and expiration date Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/shareable-links instead. `POST /api/v1/{team_slug}/{app_slug}/dam/shareable-links` **Deprecated.** **Request body** (`application/json`, required) Shareable link details - `description` (string) - `expires_at` (string) Request body example: ```json { "description": "string", "expires_at": "string" } ``` **Responses** - `201` — Shareable link created successfully - `400` — Invalid request - `401` — Unauthorized access - `403` — Forbidden - `500` — Internal server error Response example, 201: ```json { "data": { "created_at": "string", "description": "string", "expires_at": "string", "file_ids": [ "string" ], "folder_ids": [ "string" ], "id": "string", "image_ids": [ "string" ], "token": "string", "updated_at": "string", "video_ids": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Add resources to a shareable link Source: https://docs.enad.io/management/management-api/v1/reference/dam/post-api-v1-team-slug-app-slug-dam-shareable-links-link-id-resources Adds multiple folders, images, videos, and files to a shareable link in a single batch operation Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources instead. `POST /api/v1/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources` **Deprecated.** **Request body** (`application/json`, required) Resources to add - `file_ids` (string[]) - `folder_ids` (string[]) - `image_ids` (string[]) - `video_ids` (string[]) Request body example: ```json { "file_ids": [ "string" ], "folder_ids": [ "string" ], "image_ids": [ "string" ], "video_ids": [ "string" ] } ``` **Responses** - `200` — Resources added successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Shareable link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "expires_at": "string", "file_ids": [ "string" ], "folder_ids": [ "string" ], "id": "string", "image_ids": [ "string" ], "token": "string", "updated_at": "string", "video_ids": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Set File Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-files-file-id-folder Sets or updates the folder_id for a file Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder instead. `PUT /api/v1/{team_slug}/{app_slug}/dam/files/{file_id}/folder` **Deprecated.** **Request body** (`application/json`, required) Folder details - `folder_id` (string) Request body example: ```json { "folder_id": "string" } ``` **Responses** - `200` — File folder updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Bulk Set Media Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-folders-folder-id-items-bulk Sets or updates the folder_id for multiple media items (images, videos, files) Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder instead. `PUT /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/items/bulk` **Deprecated.** **Request body** (`application/json`, required) Items to move - `items` (internal_pkg_webserver_v1.BulkSetMediaFolderItem[], required) Request body example: ```json { "items": [ { "id": "string", "type": "image" } ] } ``` **Responses** - `200` — Items moved successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Add Role to Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-folders-folder-id-roles-role-id Adds a role to a folder for access control Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/folders/roles instead. `PUT /api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/roles/{role_id}` **Deprecated.** **Responses** - `200` — Role added successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Folder not found - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Set Image Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-images-image-id-folder Sets or updates the folder_id for an image Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder instead. `PUT /api/v1/{team_slug}/{app_slug}/dam/images/{image_id}/folder` **Deprecated.** **Request body** (`application/json`, required) Folder details - `folder_id` (string) Request body example: ```json { "folder_id": "string" } ``` **Responses** - `200` — Image folder updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Set Video Folder Source: https://docs.enad.io/management/management-api/v1/reference/dam/put-api-v1-team-slug-app-slug-dam-videos-video-id-folder Sets or updates the folder_id for a video Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/media/folder instead. `PUT /api/v1/{team_slug}/{app_slug}/dam/videos/{video_id}/folder` **Deprecated.** **Request body** (`application/json`, required) Folder details - `folder_id` (string) Request body example: ```json { "folder_id": "string" } ``` **Responses** - `200` — Video folder updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": true, "details": [ "string" ], "success": true } ``` --- # Delete File Source: https://docs.enad.io/management/management-api/v1/reference/files/delete-api-v1-team-slug-app-slug-files-file-id Permanently deletes a file from Cloudflare R2 storage, removes all database records, translations, relationships with products, and clears CDN cache. Triggers product update events for all items that previously used this file. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/files instead. `DELETE /api/v1/{team_slug}/{app_slug}/files/{file_id}` **Deprecated.** **Responses** - `200` — File deleted successfully - `401` — Unauthorized access - `404` — File not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete File Relationship Source: https://docs.enad.io/management/management-api/v1/reference/files/delete-api-v1-team-slug-app-slug-files-file-id-relationships-item-id Removes the relationship between a file and a product/item, disassociating the file from that product. Triggers a product update event to propagate changes. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/files/items instead. `DELETE /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}` **Deprecated.** **Responses** - `200` — Relationship deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List Files Source: https://docs.enad.io/management/management-api/v1/reference/files/get-api-v1-team-slug-app-slug-files Retrieves a paginated list of all files for an application, including translations, attributes, and CDN URLs. Supports sorting by title, type, created_at, or updated_at in ascending or descending order. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/files instead. `GET /api/v1/{team_slug}/{app_slug}/files` **Deprecated.** **Responses** - `200` — Files retrieved successfully - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get File Source: https://docs.enad.io/management/management-api/v1/reference/files/get-api-v1-team-slug-app-slug-files-file-id Retrieves detailed information about a specific file, including translations, attributes, CDN URL, and references to products/items that use this file. Returns 404 if the file does not exist. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/files/{file_id} instead. `GET /api/v1/{team_slug}/{app_slug}/files/{file_id}` **Deprecated.** **Responses** - `200` — File retrieved successfully - `401` — Unauthorized access - `404` — File not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update File Source: https://docs.enad.io/management/management-api/v1/reference/files/patch-api-v1-team-slug-app-slug-files-file-id Updates file metadata (title, type, visibility) and optionally replaces the file content in storage. If the file content is updated, the old file is replaced in Cloudflare R2. Triggers product update events for all items using this file. Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/files instead. `PATCH /api/v1/{team_slug}/{app_slug}/files/{file_id}` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `title` (string) — File title - `type` (string) — File type - `file` (any) — File file to upload Request body example: ```json { "title": "string", "type": "string", "file": null } ``` **Responses** - `200` — File updated successfully - `401` — Unauthorized access - `404` — File not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Upload File Source: https://docs.enad.io/management/management-api/v1/reference/files/put-api-v1-team-slug-app-slug-files Uploads a file to Cloudflare R2 storage, creates a database record with metadata (title, type, visibility), and returns the created file with its CDN URL. Supports both public and private file visibility settings. Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/files instead. `PUT /api/v1/{team_slug}/{app_slug}/files` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `title` (string) — File title - `type` (string) — File type - `file` (any) — File file to upload Request body example: ```json { "title": "string", "type": "string", "file": null } ``` **Responses** - `200` — File uploaded successfully - `201` — Successful response - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Add File Relationship Source: https://docs.enad.io/management/management-api/v1/reference/files/put-api-v1-team-slug-app-slug-files-file-id-relationships-item-id Creates a relationship between a file and a product/item, allowing the file to be associated with and used by that product. Triggers a product update event to propagate changes. Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/files/items instead. `PUT /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}` **Deprecated.** **Responses** - `200` — Relationship created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk Delete Images Source: https://docs.enad.io/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-bulk Permanently deletes up to 100 images by their IDs. Removes images from Cloudflare CDN, purges cache, and deletes all associated translations and relationships. Returns lists of successfully deleted and failed deletion attempts with error details. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/images instead. `DELETE /api/v1/{team_slug}/{app_slug}/images/bulk` **Deprecated.** **Request body** (`application/json`, required) Image IDs to delete - `image_ids` (string[], required) Request body example: ```json { "image_ids": [ "string" ] } ``` **Responses** - `200` — Images deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete image Source: https://docs.enad.io/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id Removes a specific image from the image gallery and deletes all associated translations Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/images instead. `DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}` **Deprecated.** **Responses** - `200` — Image deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete image relationship Source: https://docs.enad.io/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id-relationship Removes an image relationship between an image and a product, variant, or attribute Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/images/items instead. `DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationship` **Deprecated.** **Request body** (`application/json`, required) Image relationship data - `item_id` (string, required) Request body example: ```json { "item_id": "string" } ``` **Responses** - `200` — Image deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk Remove Image Relationships Source: https://docs.enad.io/management/management-api/v1/reference/images/delete-api-v1-team-slug-app-slug-images-image-id-relationships-bulk Removes relationships between an image and up to 100 items. Automatically renormalizes image priorities after each removal to maintain consistent ordering. Returns lists of successful and failed removals with error details. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/images/items instead. `DELETE /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulk` **Deprecated.** **Request body** (`application/json`, required) Items to unlink from the image - `items` (internal_pkg_webserver_v1.BulkRemoveImageRelationshipItem[], required) Request body example: ```json { "items": [ { "item_id": "string" } ] } ``` **Responses** - `200` — Relationships removed successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Image not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "item_id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Retrieve all images Source: https://docs.enad.io/management/management-api/v1/reference/images/get-api-v1-team-slug-app-slug-images Fetches all images associated with an app Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/images instead. `GET /api/v1/{team_slug}/{app_slug}/images` **Deprecated.** **Responses** - `200` — List of app images - `401` — Unauthorized access Response example, 200: ```json { "data": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Retrieve image Source: https://docs.enad.io/management/management-api/v1/reference/images/get-api-v1-team-slug-app-slug-images-image-id Fetches a single image by ID with all metadata including translations, attributes, variants, and usage information Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/images/{image_id} instead. `GET /api/v1/{team_slug}/{app_slug}/images/{image_id}` **Deprecated.** **Responses** - `200` — Got image - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Patch Images Source: https://docs.enad.io/management/management-api/v1/reference/images/patch-api-v1-team-slug-app-slug-images-bulk Updates up to 20 images in a single request. Each item includes an image id and its own patch fields. Returns arrays of successfully patched images and failed patches with reasons. Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/images instead. `PATCH /api/v1/{team_slug}/{app_slug}/images/bulk` **Deprecated.** **Request body** (`application/json`, required) Image patch items - `images` (internal_pkg_webserver_v1.BulkPatchImageItem[], required) Request body example: ```json { "images": [ { "alt": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "filename": "string", "id": "string", "parent_id": "string", "public": true, "status": "active", "title": "string" } ] } ``` **Responses** - `200` — Images patched successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Update image Source: https://docs.enad.io/management/management-api/v1/reference/images/patch-api-v1-team-slug-app-slug-images-image-id Updates image metadata including title, alt text, copyright, status, custom fields, filename, parent image, and visibility Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/images instead. `PATCH /api/v1/{team_slug}/{app_slug}/images/{image_id}` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`, required) Image data - `alt` (string) - `copyright` (string) - `custom` (object) - `filename` (string) - `parent_id` (string) - `public` (boolean) - `status` (string) - `title` (string) Request body example: ```json { "alt": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "filename": "string", "parent_id": "string", "public": true, "status": "active", "title": "string" } ``` **Responses** - `200` — Image updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Upload Images Source: https://docs.enad.io/management/management-api/v1/reference/images/post-api-v1-team-slug-app-slug-images-bulk Uploads up to 10 images from base64 encoded strings or URLs. Supports automatic product/variant association via filename matching with SKU or slug. Generates blurhash automatically if not provided. Returns lists of successful and failed uploads with detailed error reasons. Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/images instead. `POST /api/v1/{team_slug}/{app_slug}/images/bulk` **Deprecated.** **Request body** (`application/json`, required) Images to upload - `images` (internal_pkg_webserver_v1.BulkUploadImageItem[], required) Request body example: ```json { "images": [ { "alt": "string", "blurhash": "string", "connect_to_sku": true, "connect_to_slug": true, "connect_to_variant_group": true, "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "filename": "string", "image_base64": "string", "overwrite": true, "parent_id": "string", "title": "string", "url": "string" } ] } ``` **Responses** - `200` — Images uploaded successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "filename": "string", "reason": "string" } ], "successful": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Upload image Source: https://docs.enad.io/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images Uploads an image by either URL or file. If both a URL and file are provided, the URL will be used over the file. A URL can be provided without a file, and vice versa. Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/images instead. `PUT /api/v1/{team_slug}/{app_slug}/images` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `title` (string) — Image title - `alt` (string) — Alternative image text - `copyright` (string) — Image copyright text - `image` (any) — Image file to upload - `url` (string) — Url to source file. Url will be used if provided over file - `filename` (string) — Custom filename (without extension) - `overwrite` (boolean) — Overwrite the existing image with the same filename instead of creating a new one. Requires filename - `blurhash` (string) — Optional precomputed blurhash. If provided, generation is skipped - `parent_id` (string) — Parent image ID Request body example: ```json { "title": "string", "alt": "string", "copyright": "string", "image": null, "url": "string", "filename": "string", "overwrite": true, "blurhash": "string", "parent_id": "string" } ``` **Responses** - `200` — Image uploaded successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string", "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create image relationship Source: https://docs.enad.io/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images-image-id-relationship Creates a new relationship between an image and a product or variant with optional priority ordering Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/images/items instead. `PUT /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationship` **Deprecated.** **Request body** (`application/json`, required) Image relationship data - `item_id` (string, required) - `item_type` (string, required) - `priority` (integer) — Priority of the image, i.e. the order in which it should be displayed Request body example: ```json { "item_id": "string", "item_type": "product", "priority": 1 } ``` **Responses** - `200` — Image deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk Add Image Relationships Source: https://docs.enad.io/management/management-api/v1/reference/images/put-api-v1-team-slug-app-slug-images-image-id-relationships-bulk Creates relationships between an image and up to 100 items (products or variants) with optional priority ordering. Validates that each item exists and is not deleted before creating the relationship. Returns lists of successful and failed relationship creations with error details. Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/images/items instead. `PUT /api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulk` **Deprecated.** **Request body** (`application/json`, required) Items to link to the image - `items` (internal_pkg_webserver_v1.BulkAddImageRelationshipItem[], required) Request body example: ```json { "items": [ { "item_id": "string", "item_type": "product", "priority": 1 } ] } ``` **Responses** - `200` — Relationships added successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Image not found - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "item_id": "string", "item_type": "string", "reason": "string" } ], "successful": [ { "item_id": "string", "item_type": "product", "priority": 1 } ] }, "details": [ "string" ], "success": true } ``` --- # Get Item Logs Source: https://docs.enad.io/management/management-api/v1/reference/logs/get-api-v1-team-slug-app-slug-logs-item-id Retrieves all historical logs associated with a specific item, including log level, message, and timestamp `GET /api/v1/{team_slug}/{app_slug}/logs/{item_id}` **Responses** - `200` — List of logs for the item - `400` — Invalid request (e.g., bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "id": "string", "level": "string", "logged_at": "string", "message": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Delete a market Source: https://docs.enad.io/management/management-api/v1/reference/markets/delete-api-v1-team-slug-app-slug-markets-market-slug Deletes a market and its associated relationships including tax groups, tax group markets, and product variant prices. Triggers events to update dependent systems. `DELETE /api/v1/{team_slug}/{app_slug}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Market deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all markets Source: https://docs.enad.io/management/management-api/v1/reference/markets/get-api-v1-team-slug-app-slug-markets Retrieves markets configured for the specified application with pagination, including their locale, currency, and country code settings. `GET /api/v1/{team_slug}/{app_slug}/markets` **Deprecated.** **Responses** - `200` — List of markets - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a market by slug Source: https://docs.enad.io/management/management-api/v1/reference/markets/get-api-v1-team-slug-app-slug-markets-market-slug Retrieves detailed information for a specific market including its name, locale, currency code, active status, and associated country codes. `GET /api/v1/{team_slug}/{app_slug}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Market details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update an existing market Source: https://docs.enad.io/management/management-api/v1/reference/markets/patch-api-v1-team-slug-app-slug-markets-market-slug Updates an existing market's configuration including name, slug, locale, currency code, active status, and associated country codes. `PATCH /api/v1/{team_slug}/{app_slug}/markets/{market_slug}` **Deprecated.** **Request body** (`application/json`, required) Market data - `active` (boolean) - `country_codes` (string[], required) - `currency_code` (string, required) - `locale` (string, required) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "active": true, "country_codes": [ "string" ], "currency_code": "string", "locale": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Market updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new market Source: https://docs.enad.io/management/management-api/v1/reference/markets/post-api-v1-team-slug-app-slug-markets Creates a new market with the specified configuration including name, slug, locale, currency code, and associated country codes. `POST /api/v1/{team_slug}/{app_slug}/markets` **Deprecated.** **Request body** (`application/json`, required) Market data - `active` (boolean) - `country_codes` (string[], required) - `currency_code` (string, required) - `locale` (string, required) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "active": true, "country_codes": [ "string" ], "currency_code": "string", "locale": "string", "name": "string", "slug": "string" } ``` **Responses** - `200` — Market created successfully - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete merchant user Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/delete-api-v1-team-slug-app-slug-merchant-users-user-id Removes a merchant user from the system. Supports both soft delete (default) and hard delete options `DELETE /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}` **Deprecated.** **Request body** (`application/json`, required) Delete merchant user payload - `hard_delete` (boolean) Request body example: ```json { "hard_delete": true } ``` **Responses** - `200` — User deleted successfully - `400` — Invalid request (e.g. bad user ID format) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove tags from merchant user Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/delete-api-v1-team-slug-app-slug-merchant-users-user-id-tags Removes one or more tag associations from a specific merchant user `DELETE /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` **Deprecated.** **Request body** (`application/json`, required) Tag IDs to remove - `tag_ids` (string[]) Request body example: ```json { "tag_ids": [ "string" ] } ``` **Responses** - `200` — Updated merchant user with tags removed - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List merchant users Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/get-api-v1-team-slug-app-slug-merchant-users Retrieves a paginated list of merchant users with support for filtering by various attributes and sorting options `GET /api/v1/{team_slug}/{app_slug}/merchant-users` **Deprecated.** **Responses** - `200` — List of merchant users - `400` — Invalid request (e.g. bad parameters, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "count": 0, "pages": 0, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Get merchant user by ID Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/get-api-v1-team-slug-app-slug-merchant-users-user-id Retrieves detailed information about a specific merchant user including their profile, organizations, tags, and preferences `GET /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}` **Deprecated.** **Responses** - `200` — Merchant user details - `400` — Invalid request (e.g. bad user ID format) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update merchant user Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/patch-api-v1-team-slug-app-slug-merchant-users-user-id Partially updates an existing merchant user's information including personal details, address, communication preferences, and status `PATCH /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}` **Deprecated.** **Request body** (`application/json`, required) Updated merchant user details - `additions` (object) - `address` (internal_pkg_webserver_v1.PatchAddressInput) - `comment` (string) - `communication_preferences` (internal_pkg_webserver_v1.PatchPermissionsInput) - `customer_group_ids` (string[]) - `email` (string) - `email_verified` (boolean) - `is_super_admin` (boolean) - `language` (string) - `market` (string) - `name` (string) - `phone_number` (string) - `status` (string) - `store_group` (string) - `surname` (string) - `third_party_sign_up` (boolean) Request body example: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "customer_group_ids": [ "string" ], "email": "string", "email_verified": true, "is_super_admin": true, "language": "string", "market": "string", "name": "string", "phone_number": "string", "status": "active", "store_group": "string", "surname": "string", "third_party_sign_up": true } ``` **Responses** - `200` — Updated merchant user - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — User not found or store group not found - `500` — Internal server error Response example, 200: ```json { "data": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create merchant user Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users Creates a new merchant user with the provided details including personal information, address, and communication preferences `POST /api/v1/{team_slug}/{app_slug}/merchant-users` **Deprecated.** **Request body** (`application/json`, required) Merchant user details - `additions` (object) - `address` (github_com_enadhq_nabbit_internal_pkg_clients_koopakey.Address) - `comment` (string) - `communication_preferences` (github_com_enadhq_nabbit_internal_pkg_clients_koopakey.CommunicationPreferences) - `customer_group_ids` (string[]) - `email` (string, required) - `email_verified` (boolean) - `is_super_admin` (boolean) - `language` (string, required) - `market` (string, required) - `name` (string, required) - `phone_number` (string) - `status` (string, required) - `store_group` (string, required) - `surname` (string, required) - `third_party_sign_up` (boolean) Request body example: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "customer_group_ids": [ "string" ], "email": "string", "email_verified": true, "is_super_admin": true, "language": "string", "market": "string", "name": "string", "phone_number": "string", "status": "active", "store_group": "string", "surname": "string", "third_party_sign_up": true } ``` **Responses** - `201` — Created merchant user - `400` — Invalid request (e.g. bad payload, validation error, user already exists) - `401` — Unauthorized access - `404` — Store group not found - `500` — Internal server error Response example, 201: ```json { "data": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Set merchant user password Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-new-password Sets a new password for a specific merchant user account, replacing any existing password `POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/new-password` **Deprecated.** **Request body** (`application/json`, required) New password details - `new_password` (string, required) Request body example: ```json { "new_password": "string" } ``` **Responses** - `200` — Password changed successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Resend email verification Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-send-email-verification Sends a new email verification link to a specific merchant user's email address `POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/send-email-verification` **Deprecated.** **Responses** - `200` — Email verification sent - `400` — Invalid request (e.g. bad user ID format) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Add tags to merchant user Source: https://docs.enad.io/management/management-api/v1/reference/merchant-users/post-api-v1-team-slug-app-slug-merchant-users-user-id-tags Associates one or more tags with a specific merchant user for categorization and filtering purposes `POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` **Deprecated.** **Request body** (`application/json`, required) Tag IDs to add - `tag_ids` (string[]) Request body example: ```json { "tag_ids": [ "string" ] } ``` **Responses** - `200` — Updated merchant user with new tags - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "data": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": true, "id": "string", "is_super_admin": true, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "third_party_sign_up": true, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Cancel order Source: https://docs.enad.io/management/management-api/v1/reference/orders/delete-api-v1-team-slug-app-slug-orders-order-id Cancels an order by setting its status to 'cancelled'. The order remains retrievable and a history entry is created. Publishes an order cancelled event. `DELETE /api/v1/{team_slug}/{app_slug}/orders/{order_id}` **Deprecated.** **Responses** - `200` — Order cancelled successfully - `400` — Invalid order ID format - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": { "message": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete order line Source: https://docs.enad.io/management/management-api/v1/reference/orders/delete-api-v1-team-slug-app-slug-orders-order-id-lines-line-id Removes an order line from an existing order. Creates an order history entry and publishes an order updated event. `DELETE /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines/{line_id}` **Deprecated.** **Responses** - `200` — Order line deleted successfully - `400` — Invalid request (line doesn't belong to order) - `401` — Unauthorized access - `404` — Order or order line not found - `500` — Internal server error Response example, 200: ```json { "data": { "message": "string" }, "details": [ "string" ], "success": true } ``` --- # List all orders Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders Retrieves a paginated list of orders for the application. Supports optional search filtering by order reference or ID. `GET /api/v1/{team_slug}/{app_slug}/orders` **Deprecated.** **Responses** - `200` — Orders retrieved successfully - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # List orders by merchant user Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-merchant-user-user-id Retrieves a paginated list of orders associated with a specific merchant user, including all order details and related data. `GET /api/v1/{team_slug}/{app_slug}/orders/merchant-user/{user_id}` **Responses** - `200` — Orders retrieved successfully - `400` — Invalid user ID format - `401` — Unauthorized access - `404` — Merchant user not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get sales metrics Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-metrics Retrieves aggregated sales metrics for a specified date range. Returns hourly or daily granularity with order counts and sales totals grouped by currency. `GET /api/v1/{team_slug}/{app_slug}/orders/metrics` **Deprecated.** **Responses** - `200` — Sales metrics with order counts retrieved successfully - `400` — Invalid date format or missing parameters - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "daily_metrics": [ { "day": "string", "order_count": 0, "sales_by_currency": [ { "currency_code": "string", "total_compensated_sales": 0, "total_sales_amount": 0 } ] } ], "hourly_metrics": [ { "hour": "string", "order_count": 0, "sales_by_currency": [ { "currency_code": "string", "total_compensated_sales": 0, "total_sales_amount": 0 } ] } ], "total_order_count": 0, "total_sales_by_currency": [ { "currency_code": "string", "total_compensated_sales": 0, "total_sales_amount": 0 } ] }, "details": [ "string" ], "success": true } ``` --- # Get order by ID Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id Retrieves complete order details including addresses, order lines, discounts, user content, and merchant user information. `GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}` **Deprecated.** **Responses** - `200` — Order retrieved successfully - `400` — Invalid order ID format - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Get order history Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id-history Retrieves a chronological list of all changes made to an order, including status transitions, address updates, and line modifications. `GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}/history` **Deprecated.** **Responses** - `200` — Order history retrieved successfully - `400` — Invalid order ID format - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "change_type": "string", "from_status": "string", "happened_at": "string", "lines": [ { "deleted": true, "from_quantity": 0, "history_id": "string", "order_line_id": "string", "product_variant_id": "string", "to_quantity": 0 } ], "order_id": "string", "to_status": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get order lines Source: https://docs.enad.io/management/management-api/v1/reference/orders/get-api-v1-team-slug-app-slug-orders-order-id-lines Retrieves all order lines for a specific order, including enriched product and variant information such as names, numbers, descriptions, and images. `GET /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines` **Deprecated.** **Responses** - `200` — Order lines retrieved successfully - `400` — Invalid order ID format - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "details": [ "string" ], "success": true } ``` --- # Update order Source: https://docs.enad.io/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id Updates order fields including addresses, payment information, and optionally replaces all order lines. Validates products and variants. Publishes an order updated event. `PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}` **Deprecated.** **Request body** (`application/json`, required) Order update data - `billing_address` (internal_pkg_webserver_v1.InputOrderAddress) - `bonus_total` (number) - `country_code` (string) - `currency_code` (string) - `discount_total` (number) - `gift_card_total` (number) - `grand_total` (number) - `language_code` (string) - `lines` (internal_pkg_webserver_v1.InputOrderLine[]) - `merchant_user_id` (string) - `payment_method` (string) - `payment_method_id` (string) - `payment_method_name` (string) - `reference` (string) - `session_id` (string) - `shipping_address` (internal_pkg_webserver_v1.InputOrderAddress) - `shipping_methods` (string[]) - `shipping_total` (number) - `source` (string) - `status` (string) - `sub_total` (number) - `tax_total` (number) Request body example: ```json { "billing_address": { "city": "string", "country_code": "string", "email": "string", "family_name": "string", "given_name": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string" }, "bonus_total": 0, "country_code": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "language_code": "string", "lines": [ { "base_price_amount": 0, "currency_code": "string", "product_id": "string", "quantity": 1, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_tax_amount": 0, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "city": "string", "country_code": "string", "email": "string", "family_name": "string", "given_name": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "placed", "sub_total": 0, "tax_total": 0 } ``` **Responses** - `200` — Order updated successfully - `400` — Invalid request (validation error, product/variant not found) - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update order line Source: https://docs.enad.io/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id-lines-line-id Updates an existing order line's product, variant, quantity, pricing, and tax information. Validates that the product and variant exist. Publishes an order updated event. `PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines/{line_id}` **Deprecated.** **Request body** (`application/json`, required) Order line update data - `base_price_amount` (number, required) - `currency_code` (string, required) - `product_id` (string, required) - `quantity` (integer, required) - `tax_group_id` (string) - `total_discount_amount` (number) - `total_price_amount` (number, required) - `total_tax_amount` (number) - `variant_id` (string, required) Request body example: ```json { "base_price_amount": 0, "currency_code": "string", "product_id": "string", "quantity": 1, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_tax_amount": 0, "variant_id": "string" } ``` **Responses** - `200` — Order line updated successfully - `400` — Invalid request (validation error, product/variant not found, line doesn't belong to order) - `401` — Unauthorized access - `404` — Order or order line not found - `500` — Internal server error Response example, 200: ```json { "data": { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" }, "details": [ "string" ], "success": true } ``` --- # Update order status Source: https://docs.enad.io/management/management-api/v1/reference/orders/patch-api-v1-team-slug-app-slug-orders-order-id-status Updates the order status to one of: placed, refunded, compensated, released, delivered, or cancelled. Creates a history entry tracking the status transition. Publishes an order updated event. `PATCH /api/v1/{team_slug}/{app_slug}/orders/{order_id}/status` **Deprecated.** **Request body** (`application/json`, required) Status update data - `status` (string, required) Request body example: ```json { "status": "placed" } ``` **Responses** - `200` — Order status updated successfully - `400` — Invalid request (validation error, invalid status) - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "data": { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create order Source: https://docs.enad.io/management/management-api/v1/reference/orders/post-api-v1-team-slug-app-slug-orders Creates a new order with order lines, addresses, and payment information. Validates that all products and variants exist. Publishes an order created event. `POST /api/v1/{team_slug}/{app_slug}/orders` **Deprecated.** **Request body** (`application/json`, required) Order data - `billing_address` (internal_pkg_webserver_v1.InputOrderAddress) - `bonus_total` (number) - `country_code` (string, required) - `currency_code` (string, required) - `discount_total` (number) - `gift_card_total` (number) - `grand_total` (number, required) - `language_code` (string, required) - `lines` (internal_pkg_webserver_v1.InputOrderLine[], required) - `merchant_user_id` (string) - `payment_method` (string) - `payment_method_id` (string) - `payment_method_name` (string) - `reference` (string, required) - `session_id` (string) - `shipping_address` (internal_pkg_webserver_v1.InputOrderAddress) - `shipping_methods` (string[]) - `shipping_total` (number) - `source` (string, required) - `status` (string, required) - `sub_total` (number) - `tax_total` (number) Request body example: ```json { "billing_address": { "city": "string", "country_code": "string", "email": "string", "family_name": "string", "given_name": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string" }, "bonus_total": 0, "country_code": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "language_code": "string", "lines": [ { "base_price_amount": 0, "currency_code": "string", "product_id": "string", "quantity": 1, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_tax_amount": 0, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "city": "string", "country_code": "string", "email": "string", "family_name": "string", "given_name": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "placed", "sub_total": 0, "tax_total": 0 } ``` **Responses** - `201` — Order created successfully - `400` — Invalid request (validation error, product/variant not found) - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "billing_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "discounts": [ { "created_at": "string", "discount_id": "string", "id": "string", "name": "string", "order_id": "string", "updated_at": "string" } ], "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "merchant_user": { "email": "string", "id": "string", "name": "string", "surname": "string" }, "order_lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" } ], "order_tracking_reference": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": { "address_type": "string", "city": "string", "country_code": "string", "created_at": "string", "email": "string", "family_name": "string", "given_name": "string", "id": "string", "postal_code": "string", "state_or_province": "string", "street_address": "string", "street_address_2": "string", "telephone_number": "string", "updated_at": "string" }, "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string", "user_content": [ { "content_type": "string", "filename": "string", "id": "string", "url": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create order line Source: https://docs.enad.io/management/management-api/v1/reference/orders/post-api-v1-team-slug-app-slug-orders-order-id-lines Adds a new order line to an existing order with quantity, pricing, and tax information. Validates that the product and variant exist. Publishes an order updated event. `POST /api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines` **Deprecated.** **Request body** (`application/json`, required) Order line data - `base_price_amount` (number, required) - `currency_code` (string, required) - `product_id` (string, required) - `quantity` (integer, required) - `tax_group_id` (string) - `total_discount_amount` (number) - `total_price_amount` (number, required) - `total_tax_amount` (number) - `variant_id` (string, required) Request body example: ```json { "base_price_amount": 0, "currency_code": "string", "product_id": "string", "quantity": 1, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_tax_amount": 0, "variant_id": "string" } ``` **Responses** - `201` — Order line created successfully - `400` — Invalid request (validation error, product/variant not found) - `401` — Unauthorized access - `404` — Order not found - `500` — Internal server error Response example, 201: ```json { "data": { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "first_image_path": "string", "id": "string", "order_id": "string", "product_id": "string", "product_name": "string", "product_number": "string", "quantity": 0, "short_description": "string", "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant_id": "string", "variant_name": "string", "variant_number": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete an organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id Permanently deletes an organization by ID. The organization and all associated data will be removed from the system. `DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}` **Deprecated.** **Responses** - `200` — Organization deleted successfully - `400` — Invalid request (e.g. bad organization ID format) - `401` — Unauthorized access - `404` — Organization not found - `409` — Conflict had children organizations - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove address restriction for user Source: https://docs.enad.io/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-address-address-id Removes a user restriction from a specific organization address. This allows the specified merchant user to access the given address within the organization again. `DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/address/{address_id}` **Deprecated.** **Request body** (`application/json`, required) Merchant user ID to remove restriction from this address - `merchant_user_id` (string, required) Request body example: ```json { "merchant_user_id": "string" } ``` **Responses** - `200` — User restriction removed successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization, address, or user not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove tags from organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-tags Disassociates one or more tags from an organization. The tags themselves are not deleted, only their association with the organization. `DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tags` **Deprecated.** **Request body** (`application/json`, required) Tag IDs to remove - `tag_ids` (string[]) Request body example: ```json { "tag_ids": [ "string" ] } ``` **Responses** - `200` — Updated organization with tags removed - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string", "users": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "email": "string", "email_verified": true, "id": "string", "language": "string", "level": "string", "market": "string", "name": "string", "phone_number": "string", "store_group": "string", "surname": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Remove user from organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/delete-api-v1-team-slug-app-slug-organisations-org-id-user Disassociates a user from an organization, removing their access and permissions for that organization. `DELETE /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/user` **Deprecated.** **Request body** (`application/json`, required) User ID to remove - `user_id` (string, required) Request body example: ```json { "user_id": "string" } ``` **Responses** - `200` — User removed from organization successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization or user not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all organizations Source: https://docs.enad.io/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations Retrieves a paginated list of organizations with comprehensive filtering options including search, status, country, credit check status, custom attributes, and date ranges. Supports sorting and pagination. `GET /api/v1/{team_slug}/{app_slug}/organisations` **Deprecated.** **Responses** - `200` — List of organizations - `400` — Invalid request (e.g. bad parameters, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "parents": [ { "id": "string", "name": "string", "organisation_number": "string" } ], "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get organization by ID Source: https://docs.enad.io/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations-org-id Retrieves a specific organization by ID, including all associated users, addresses (billing and shipping), tags, and custom attributes. `GET /api/v1/{team_slug}/{app_slug}/organisations/{org_id}` **Deprecated.** **Responses** - `200` — Organization details - `400` — Invalid request (e.g. bad organization ID format) - `401` — Unauthorized access - `404` — Organization not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string", "users": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "email": "string", "email_verified": true, "id": "string", "language": "string", "level": "string", "market": "string", "name": "string", "phone_number": "string", "store_group": "string", "surname": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Get organization tree by ID Source: https://docs.enad.io/management/management-api/v1/reference/organizations/get-api-v1-team-slug-app-slug-organisations-org-id-tree Retrieves a tree of organizations connected by parent ID by starting from the organization ID. `GET /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tree` **Deprecated.** **Responses** - `200` — Organization details - `400` — Invalid request (e.g. bad organization ID format) - `401` — Unauthorized access - `404` — Organization not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "children": [ {} ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "status": "string", "tax_id_vat_number": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update an existing organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/patch-api-v1-team-slug-app-slug-organisations-org-id Updates an existing organization's basic details, contact information, and addresses. Only provided fields will be updated (partial update). Addresses can be added, modified, or removed. `PATCH /api/v1/{team_slug}/{app_slug}/organisations/{org_id}` **Deprecated.** **Request body** (`application/json`, required) Updated organization details - `addresses` (internal_pkg_webserver_v1.InputOrganisationAddress[]) - `comment` (string) - `contact_name` (string) - `credit_check` (boolean) - `custom_fields` (github_com_enadhq_nabbit_internal_pkg_database.CustomFields) - `customer_group_ids` (string[]) - `email` (string) - `external_ref` (string) - `invoice_email` (string) - `name` (string) - `organisation_number` (string) - `parent_id` (string) - `phone` (string) - `status` (string) - `tax_id_vat_number` (string) Request body example: ```json { "addresses": [ { "city": "string", "co_address": "string", "company_name": "string", "country": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "billing", "state_province": "string", "street_address": "string" } ], "comment": "string", "contact_name": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_group_ids": [ "string" ], "email": "string", "external_ref": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "status": "active", "tax_id_vat_number": "string" } ``` **Responses** - `200` — Updated organization - `400` — Invalid request (e.g. bad payload, validation error, organization number already exists) - `401` — Unauthorized access - `404` — Organization not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string", "users": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "email": "string", "email_verified": true, "id": "string", "language": "string", "level": "string", "market": "string", "name": "string", "phone_number": "string", "store_group": "string", "surname": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create a new organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations Creates a new organization with basic details, contact information, and optional addresses. The organization will be assigned a unique ID and timestamps automatically. `POST /api/v1/{team_slug}/{app_slug}/organisations` **Deprecated.** **Request body** (`application/json`, required) Organization details - `addresses` (internal_pkg_webserver_v1.InputOrganisationAddress[]) - `comment` (string) - `contact_name` (string) - `credit_check` (boolean) - `custom_fields` (github_com_enadhq_nabbit_internal_pkg_database.CustomFields) - `customer_group_ids` (string[]) - `email` (string, required) - `external_ref` (string) - `invoice_email` (string) - `name` (string, required) - `organisation_number` (string) - `parent_id` (string) - `phone` (string) - `status` (string, required) - `tax_id_vat_number` (string) Request body example: ```json { "addresses": [ { "city": "string", "co_address": "string", "company_name": "string", "country": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "billing", "state_province": "string", "street_address": "string" } ], "comment": "string", "contact_name": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_group_ids": [ "string" ], "email": "string", "external_ref": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "status": "active", "tax_id_vat_number": "string" } ``` **Responses** - `201` — Created organization - `400` — Invalid request (e.g. bad payload, validation error, organization number already exists) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 201: ```json { "data": { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string", "users": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "email": "string", "email_verified": true, "id": "string", "language": "string", "level": "string", "market": "string", "name": "string", "phone_number": "string", "store_group": "string", "surname": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Add address restriction for user Source: https://docs.enad.io/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations-org-id-address-address-id Adds a user restriction to a specific organization address. This prevents the specified merchant user from accessing the given address within the organization. `POST /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/address/{address_id}` **Deprecated.** **Request body** (`application/json`, required) Merchant user ID to restrict from this address - `merchant_user_id` (string, required) Request body example: ```json { "merchant_user_id": "string" } ``` **Responses** - `200` — User restriction added successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization, address, or user not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Add tags to organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/post-api-v1-team-slug-app-slug-organisations-org-id-tags Associates one or more tags with an organization for categorization and filtering. Tags must exist before they can be added. `POST /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/tags` **Deprecated.** **Request body** (`application/json`, required) Tag IDs to add - `tag_ids` (string[]) Request body example: ```json { "tag_ids": [ "string" ] } ``` **Responses** - `200` — Updated organization with new tags - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization not found - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_id_vat_number": "string", "updated_at": "string", "users": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "email": "string", "email_verified": true, "id": "string", "language": "string", "level": "string", "market": "string", "name": "string", "phone_number": "string", "store_group": "string", "surname": "string", "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Add user to organization Source: https://docs.enad.io/management/management-api/v1/reference/organizations/put-api-v1-team-slug-app-slug-organisations-org-id-user Associates an existing user with an organization, assigning them a custom role and access level (default/admin/super-admin). `PUT /api/v1/{team_slug}/{app_slug}/organisations/{org_id}/user` **Deprecated.** **Request body** (`application/json`, required) User details - `custom_role_id` (string, required) - `level` (string, required) - `user_id` (string, required) Request body example: ```json { "custom_role_id": "string", "level": "default", "user_id": "string" } ``` **Responses** - `200` — User added to organization successfully - `400` — Invalid request (e.g. bad payload, validation error) - `401` — Unauthorized access - `404` — Organization or user or custom role not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Disconnect a source rule from a target rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-connections-connection-id Delete by connection id, or by source_rule_id + target_rule_id query params. `DELETE /api/v1/{team_slug}/{app_slug}/price-relay-connections/{connection_id}` **Deprecated.** **Responses** - `200` — connection deleted - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a price relay source rule (cascades its connections) Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id `DELETE /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}` **Deprecated.** **Responses** - `200` — source rule deleted - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a price relay target rule (cascades its connections) Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/delete-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id `DELETE /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` **Deprecated.** **Responses** - `200` — target rule deleted - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List price relay source rules with pagination Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-source-rules `GET /api/v1/{team_slug}/{app_slug}/price-relay-source-rules` **Deprecated.** **Responses** - `200` — List of source rules - `500` — Internal server error Response example, 200: ```json { "data": [ { "active": true, "app_id": "string", "created_at": "string", "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "id": "string", "market": "string", "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group": "string", "relay_status_store_group": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group": "string", "store_group_slug": "string" } ], "tax_country_code": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a price relay source rule including its connected target rules Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id `GET /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}` **Deprecated.** **Responses** - `200` — Got source rule - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "app_id": "string", "created_at": "string", "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "id": "string", "market": "string", "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group": "string", "relay_status_store_group": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group": "string", "store_group_slug": "string" } ], "targets": [ { "active": true, "aggregation": "string", "app_id": "string", "created_at": "string", "id": "string", "market": "string", "market_slug": "string", "name": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string" } ], "tax_country_code": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List price relay target rules with pagination Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-target-rules `GET /api/v1/{team_slug}/{app_slug}/price-relay-target-rules` **Deprecated.** **Responses** - `200` — List of target rules - `500` — Internal server error Response example, 200: ```json { "data": [ { "active": true, "aggregation": "string", "app_id": "string", "created_at": "string", "id": "string", "market": "string", "market_slug": "string", "name": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a price relay target rule including its connected source rules Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/get-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id `GET /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` **Deprecated.** **Responses** - `200` — Got target rule - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "aggregation": "string", "app_id": "string", "created_at": "string", "id": "string", "market": "string", "market_slug": "string", "name": "string", "sources": [ { "active": true, "app_id": "string", "created_at": "string", "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "id": "string", "market": "string", "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group": "string", "relay_status_store_group": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group": "string", "store_group_slug": "string" } ], "tax_country_code": "string", "updated_at": "string" } ], "store_group": "string", "store_group_slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Connect a source rule to a target rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-connections `POST /api/v1/{team_slug}/{app_slug}/price-relay-connections` **Deprecated.** **Request body** (`application/json`, required) connection details - `source_rule_id` (string, required) - `target_rule_id` (string, required) Request body example: ```json { "source_rule_id": "string", "target_rule_id": "string" } ``` **Responses** - `200` — connection created - `400` — Invalid request - `404` — Rule not found - `409` — Already connected - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "source_rule_id": "string", "target_rule_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a price relay source rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-source-rules Create a reusable source side of a price relay. `POST /api/v1/{team_slug}/{app_slug}/price-relay-source-rules` **Deprecated.** **Request body** (`application/json`, required) source rule details - `active` (boolean) - `filters` (internal_pkg_webserver_v1.InputPriceRelayFilters) - `force_on_sale` (boolean) — Overrides the target's on-sale flag with this value; when omitted the flag is left to relay\_on\_sale\_store\_group and the target's own state. - `market_slug` (string, required) - `name` (string, required) - `percentage_of_source` (integer) - `percentage_of_source_decimals` (integer) - `relay_on_sale_store_group_slug` (string) — When set, the target inherits its on-sale flag and sale window from this store group's price; omit to leave the target's own. Must be one of store\_groups. - `relay_status_store_group_slug` (string, required) — The target inherits its status from this store group's price; falls back to the target's own status, or the source status when the target has no price yet. Must be one of store\_groups. - `rounding` (internal_pkg_webserver_v1.InputPriceRelayRounding) - `store_groups` (internal_pkg_webserver_v1.InputPriceRelaySourceStoreGroup[], required) — The store groups whose prices are summed into the relayed price. - `tax_country_code` (string) Request body example: ```json { "active": true, "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group_slug": "string", "relay_status_store_group_slug": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group_slug": "string" } ], "tax_country_code": "string" } ``` **Responses** - `200` — source rule created - `400` — Invalid request - `404` — Store group or market not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "app_id": "string", "created_at": "string", "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "id": "string", "market": "string", "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group": "string", "relay_status_store_group": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group": "string", "store_group_slug": "string" } ], "tax_country_code": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a price relay target rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/post-api-v1-team-slug-app-slug-price-relay-target-rules `POST /api/v1/{team_slug}/{app_slug}/price-relay-target-rules` **Deprecated.** **Request body** (`application/json`, required) target rule details - `active` (boolean) - `aggregation` (string, required) - `market_slug` (string, required) - `name` (string, required) - `store_group_slug` (string, required) Request body example: ```json { "active": true, "aggregation": "string", "market_slug": "string", "name": "string", "store_group_slug": "string" } ``` **Responses** - `200` — target rule created - `400` — Invalid request - `404` — Store group or market not found - `409` — Conflict - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "aggregation": "string", "app_id": "string", "created_at": "string", "id": "string", "market": "string", "market_slug": "string", "name": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a price relay source rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/put-api-v1-team-slug-app-slug-price-relay-source-rules-rule-id `PUT /api/v1/{team_slug}/{app_slug}/price-relay-source-rules/{rule_id}` **Deprecated.** **Request body** (`application/json`, required) source rule details - `active` (boolean) - `filters` (internal_pkg_webserver_v1.InputPriceRelayFilters) - `force_on_sale` (boolean) — Overrides the target's on-sale flag with this value; when omitted the flag is left to relay\_on\_sale\_store\_group and the target's own state. - `market_slug` (string, required) - `name` (string, required) - `percentage_of_source` (integer) - `percentage_of_source_decimals` (integer) - `relay_on_sale_store_group_slug` (string) — When set, the target inherits its on-sale flag and sale window from this store group's price; omit to leave the target's own. Must be one of store\_groups. - `relay_status_store_group_slug` (string, required) — The target inherits its status from this store group's price; falls back to the target's own status, or the source status when the target has no price yet. Must be one of store\_groups. - `rounding` (internal_pkg_webserver_v1.InputPriceRelayRounding) - `store_groups` (internal_pkg_webserver_v1.InputPriceRelaySourceStoreGroup[], required) — The store groups whose prices are summed into the relayed price. - `tax_country_code` (string) Request body example: ```json { "active": true, "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group_slug": "string", "relay_status_store_group_slug": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group_slug": "string" } ], "tax_country_code": "string" } ``` **Responses** - `200` — source rule updated - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "app_id": "string", "created_at": "string", "filters": { "brand_ids": [ "string" ], "category_ids": [ "string" ], "collection_ids": [ "string" ], "tag_ids": [ "string" ] }, "force_on_sale": true, "id": "string", "market": "string", "market_slug": "string", "name": "string", "percentage_of_source": 0, "percentage_of_source_decimals": 0, "relay_on_sale_store_group": "string", "relay_status_store_group": "string", "rounding": { "round_down": true, "round_up": true, "targets": [ "string" ] }, "store_groups": [ { "amount_from": "string", "sale_price_from": "string", "store_group": "string", "store_group_slug": "string" } ], "tax_country_code": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a price relay target rule Source: https://docs.enad.io/management/management-api/v1/reference/price-relay-rules/put-api-v1-team-slug-app-slug-price-relay-target-rules-rule-id `PUT /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` **Deprecated.** **Request body** (`application/json`, required) target rule details - `active` (boolean) - `aggregation` (string, required) - `market_slug` (string, required) - `name` (string, required) - `store_group_slug` (string, required) Request body example: ```json { "active": true, "aggregation": "string", "market_slug": "string", "name": "string", "store_group_slug": "string" } ``` **Responses** - `200` — target rule updated - `400` — Invalid request - `404` — Not found - `409` — Conflict - `500` — Internal server error Response example, 200: ```json { "data": { "active": true, "aggregation": "string", "app_id": "string", "created_at": "string", "id": "string", "market": "string", "market_slug": "string", "name": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id Permanently deletes a product bundle group and all its associated bundles. Triggers a deletion sync event to remove the bundle group from downstream systems. `DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}` **Responses** - `200` — Bundle deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove Market from Bundle Group (Deprecated) Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-markets-market-slug Deprecated: Removes a market association from the product bundle group by removing it from all store groups within that market. A bundle group must have at least one market. `DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Updated product bundle group - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Remove Store Group Market from Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-store-groups-store-group-markets-market-slug Removes the association between a specific market within a store group and the product bundle group. A bundle group must have at least one market. Triggers a sync event if the bundle group is compliant. `DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/store-groups/{store_group}/markets/{market_slug}` **Responses** - `200` — Updated product bundle group - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List Bundle Groups Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/get-api-v1-team-slug-app-slug-bundle-groups Retrieves a paginated list of product bundle groups for the specified app, including their associated bundles, markets, and translations. Optionally filter by bundle group name using the search parameter. `GET /api/v1/{team_slug}/{app_slug}/bundle-groups` **Responses** - `200` — Product bundle group lists - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id Retrieves a single product bundle group including all associated bundles, markets, translations, and compliance status. `GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}` **Responses** - `200` — Product bundle group - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/patch-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id Updates the name, description, start date, and end date of an existing product bundle group. Only provided fields will be updated. Triggers a sync event if the bundle group is compliant. `PATCH /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}` **Request body** (`application/json`, required) Product bundle data - `discount_percentage` (integer) — Used if discount\_type is relative. This will apply to all markets it's added to - `discount_type` (string) - `discounts` (internal_pkg_webserver_v1.BundleGroupDiscount[]) - `status` (string) — Status of the bundle Request body example: ```json { "discount_percentage": 0, "discount_type": "relative", "discounts": [ { "amount_cents": 0, "currency_code": "string" } ], "status": "active" } ``` **Responses** - `200` — Product created or updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/post-api-v1-team-slug-app-slug-bundle-groups Creates a new product bundle group with optional start and end dates. Bundle groups are containers for bundles that share common configuration and availability settings. `POST /api/v1/{team_slug}/{app_slug}/bundle-groups` **Request body** (`application/json`, required) Product bundle group data - `description` (string) - `end_date` (string) — Format: RFC3339 Example: "2023-12-31T00:00:00Z" - `name` (string, required) — Name of the bundle - `start_date` (string) — Format: RFC3339 Example: "2023-12-31T00:00:00Z" Request body example: ```json { "description": "string", "end_date": "string", "name": "string", "start_date": "string" } ``` **Responses** - `200` — Product created or updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add Market to Bundle Group (Deprecated) Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-markets-market-slug Deprecated: Associates a market with the product bundle group by adding it to all store groups within that market. Markets define regional availability for bundles. `PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Updated product - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add Store Group Market to Bundle Group Source: https://docs.enad.io/management/management-api/v1/reference/product-bundle-groups/put-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-store-groups-store-group-markets-market-slug Associates a specific market within a store group with the product bundle group. This enables fine-grained control over which markets the bundle is available in per store group. Triggers a sync event if the bundle group is compliant. `PUT /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/store-groups/{store_group}/markets/{market_slug}` **Responses** - `200` — Updated product - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "bundles": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" } ], "compliance": { "info": [ "string" ], "level": "none" }, "created_at": "string", "description": "string", "end_date": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "name": "string", "start_date": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete product bundle Source: https://docs.enad.io/management/management-api/v1/reference/product-bundles/delete-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id Permanently deletes the specified product bundle from the bundle group. Cannot delete the last remaining bundle in a group. Also removes any orphaned redirects associated with the bundle. `DELETE /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}` **Responses** - `200` — Product bundle deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Get product bundle Source: https://docs.enad.io/management/management-api/v1/reference/product-bundles/get-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id Retrieves detailed information about a specific product bundle, including its configuration, status, discount rules, and validation status. `GET /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}` **Responses** - `200` — Product bundle retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update product bundle Source: https://docs.enad.io/management/management-api/v1/reference/product-bundles/patch-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles-bundle-id Updates the specified product bundle's status, discount type, discount percentage, and discount rules. Supports partial updates where only provided fields are modified. `PATCH /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles/{bundle_id}` **Request body** (`application/json`, required) Product bundle update data - `discount_percentage` (integer) — Used if discount\_type is relative. This will apply to all markets it's added to - `discount_type` (string) - `discounts` (internal_pkg_webserver_v1.BundleGroupDiscount[]) - `status` (string) — Status of the bundle Request body example: ```json { "discount_percentage": 0, "discount_type": "relative", "discounts": [ { "amount_cents": 0, "currency_code": "string" } ], "status": "active" } ``` **Responses** - `200` — Product bundle updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create product bundle Source: https://docs.enad.io/management/management-api/v1/reference/product-bundles/post-api-v1-team-slug-app-slug-bundle-groups-bundle-group-id-bundles Creates a new product bundle within the specified bundle group. The bundle can have relative or fixed discount configurations. Product bundles are treated as individual products across different sales channels. `POST /api/v1/{team_slug}/{app_slug}/bundle-groups/{bundle_group_id}/bundles` **Request body** (`application/json`, required) Product bundle configuration - `discount_percentage` (integer) — Used if discount\_type is relative. This will apply to all markets it's added to - `discount_type` (string) - `discounts` (internal_pkg_webserver_v1.BundleGroupDiscount[]) - `status` (string) — Status of the bundle Request body example: ```json { "discount_percentage": 0, "discount_type": "relative", "discounts": [ { "amount_cents": 0, "currency_code": "string" } ], "status": "active" } ``` **Responses** - `200` — Product bundle created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "compliant": { "info": [ "string" ], "level": "none" }, "created_at": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "id": "string", "rules": [ { "bundle_id": "string", "discount_percentage": 0, "discount_type": "string", "discounts": { "property1": 0, "property2": 0 }, "exclude_discounted_price": true, "exclude_full_price": true, "id": "string", "items": [ { "description": "string", "id": "string", "image_urls": [ "string" ], "product_name": "string", "product_number": "string", "slug": "string" } ], "quantity": 0, "tag_conditions": { "brands": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "categories": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "collections": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "series": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] }, "tags": { "mode": "include", "values": [ { "id": "string", "name": "string" } ] } } } ], "status": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete Product Draft Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/delete-api-v1-team-slug-app-slug-products-product-id-draft Permanently deletes a product draft and discards all pending changes. Also removes any scheduled publication jobs associated with the draft. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft` **Deprecated.** **Responses** - `200` — Draft deleted successfully - `401` — Unauthorized access - `404` — No draft found for this product - `500` — Internal server error Response example, 200: ```json { "message": "string", "success": true } ``` --- # List Product Drafts Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/get-api-v1-team-slug-app-slug-drafts Retrieves a paginated list of all product drafts for the current app, including draft metadata, changeset summaries, and scheduled publication times. `GET /api/v1/{team_slug}/{app_slug}/drafts` **Deprecated.** **Responses** - `200` — Drafts retrieved successfully - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "app_id": "string", "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "created_at": "string", "id": "string", "product_id": "string", "publish_at": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get Product Draft Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/get-api-v1-team-slug-app-slug-products-product-id-draft Retrieves the draft changeset and metadata for a specific product, including the scheduled publication time if set. `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft` **Deprecated.** **Responses** - `200` — Draft retrieved successfully - `401` — Unauthorized access - `404` — No draft found for this product - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "created_at": "string", "id": "string", "product_id": "string", "publish_at": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update Product Draft Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/patch-api-v1-team-slug-app-slug-products-product-id-draft Replaces the existing draft changeset for a product with new values. Updates the scheduled publication time if provided and reschedules any existing publication jobs. `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft` **Deprecated.** **Request body** (`application/json`, required) Updated draft changeset and optional publish\_at - `changeset` (github_com_enadhq_nabbit_internal_pkg_webserver_models.ProductDraftChangeset, required) - `publish_at` (string) Request body example: ```json { "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "publish_at": "string" } ``` **Responses** - `200` — Draft updated successfully - `400` — Invalid request (e.g. validation error) - `401` — Unauthorized access - `404` — No draft found for this product - `500` — Internal server error Response example, 200: ```json { "data": { "app_id": "string", "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "created_at": "string", "id": "string", "product_id": "string", "publish_at": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create Product Draft Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/post-api-v1-team-slug-app-slug-products-product-id-draft Creates a new draft changeset for a product. Only one draft can exist per product at a time. Optionally schedules automatic publication at a future time. `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft` **Deprecated.** **Request body** (`application/json`, required) Draft changeset and optional publish\_at - `changeset` (github_com_enadhq_nabbit_internal_pkg_webserver_models.ProductDraftChangeset, required) - `publish_at` (string) Request body example: ```json { "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "publish_at": "string" } ``` **Responses** - `201` — Draft created successfully - `400` — Invalid request (e.g. validation error) - `401` — Unauthorized access - `409` — A draft already exists for this product - `500` — Internal server error Response example, 201: ```json { "data": { "app_id": "string", "changeset": { "attributes": [ "string" ], "categories": [ { "id": "string", "is_main_category": true, "order": 0 } ], "collections": [ "string" ], "description": "string", "html_description": "string", "html_short_description": "string", "images": [ { "id": "string", "priority": 0 } ], "meta_description": "string", "meta_title": "string", "name": "string", "short_description": "string", "tags": [ { "key": "string", "order": 0 } ] }, "created_at": "string", "id": "string", "product_id": "string", "publish_at": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Promote Product Draft Source: https://docs.enad.io/management/management-api/v1/reference/product-drafts/post-api-v1-team-slug-app-slug-products-product-id-draft-promote Applies all pending changes from the draft to the live product and removes the draft. This publishes the changes immediately and triggers product update events. `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/draft/promote` **Deprecated.** **Responses** - `200` — Draft promoted and product updated successfully - `401` — Unauthorized access - `404` — No draft found for this product - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk delete products Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-bulk Permanently deletes multiple products in a single request. Accepts up to 50 product IDs and returns lists of successful and failed deletions with detailed error reasons. `DELETE /api/v1/{team_slug}/{app_slug}/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product IDs to delete - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Products deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete a product Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id Permanently deletes a product by ID and removes all associated data including variants, prices, stock, categories, collections, tags, images, videos, files, attributes, translations, redirects, and third-party links. This action cannot be undone. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}` **Deprecated.** **Responses** - `200` — Product deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove Product from Category Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-categories-category-id Removes the association between a product and a category. The category itself is not deleted `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories/{category_id}` **Deprecated.** **Responses** - `200` — Category removed successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Remove collections from a product Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-collections Deprecated: Use the Collections V2 API. Removes relationships between a product and multiple collections by their IDs. The product is removed from the specified collections. Returns the updated product with all related data. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections` **Deprecated.** **Request body** (`application/json`, required) Collection IDs - `collection_ids` (string[]) Request body example: ```json { "collection_ids": [ "string" ] } ``` **Responses** - `200` — Product collections updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Delete product image Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-images-image-id Removes a specific image from a product and renormalizes image priorities `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/images/{image_id}` **Deprecated.** **Responses** - `200` — Image deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove a tag from a product Source: https://docs.enad.io/management/management-api/v1/reference/products/delete-api-v1-team-slug-app-slug-products-product-id-tags-tag-key Removes the relationship between a product and a tag identified by tag key. The product is removed from the tag's product list. Returns the updated product with all related data. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Updated product - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # List products Source: https://docs.enad.io/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products Retrieves a paginated list of products with extensive filtering and sorting options. Supports filtering by categories, collections, tags, attributes, brands, markets, status, product numbers, dates, and more. Returns products with all related data including variants, prices, and market status. `GET /api/v1/{team_slug}/{app_slug}/products` **Deprecated.** **Responses** - `200` — Product list - `400` — Invalid query parameter - `401` — Unauthorized - `403` — Forbidden - `500` — Internal Server Error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a product by ID Source: https://docs.enad.io/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id Retrieves a complete product by its unique identifier including all related data: variants with prices and stock, categories, collections, tags, images, videos, files, attributes, translations, redirects, third-party links, and market status. `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}` **Deprecated.** **Request body** (`application/json`, required) Category data - `brand_id` (string) — Brand or series of a brand connected to product - `custom` (object) — Custom fields - `description` (string) — Deprecated: read-only in write payloads. Derived from html\_description. - `exclude_from_feeds` (boolean) — Whenever a product should exist in feeds or not. Default \`false\` - `html_description` (string) — HTML description of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `html_short_description` (string) — HTML Shortdescription of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `market_status` (internal_pkg_webserver_v1.ProductMarketStatus[]) - `meta_description` (string) — Meta description for SEO - `meta_title` (string) — Meta title for SEO - `package_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The package dimensions - `product_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The products dimensions - `product_name` (string, required) — Name of the product - `product_number` (string, required) — Product number - `product_type` (string) — Product type. Default 'simple' - `short_description` (string) — Deprecated: read-only in write payloads. Derived from html\_short\_description. - `slug` (string) — Slug for the product - `status` (string, required) — Status of the product - `tax_group_slug` (string, required) — The tax group related to the product Request body example: ```json { "brand_id": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "html_description": "string", "html_short_description": "string", "market_status": [ { "market_id": "string", "status": "active", "store_group_id": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "flexible", "short_description": "string", "slug": "string", "status": "active", "tax_group_slug": "string" } ``` **Responses** - `200` — Product data - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # List Product Categories Source: https://docs.enad.io/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id-categories Retrieves all categories that a product is associated with, including translations and attributes `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories` **Deprecated.** **Responses** - `200` — Categories list - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Retrieve product images Source: https://docs.enad.io/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-product-id-images Fetches all images associated with a product `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/images` **Deprecated.** **Responses** - `200` — List of product images - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a product by product number Source: https://docs.enad.io/management/management-api/v1/reference/products/get-api-v1-team-slug-app-slug-products-sku-product-number Retrieves a complete product by its product number (SKU) including all related data: variants with prices and stock, categories, collections, tags, images, videos, files, attributes, translations, redirects, third-party links, and market status. The search is case-insensitive. `GET /api/v1/{team_slug}/{app_slug}/products/sku/{product_number}` **Deprecated.** **Responses** - `200` — Product data - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk update products Source: https://docs.enad.io/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-bulk Updates multiple products in a single request. Accepts up to 20 product updates and returns lists of successful and failed updates with detailed error reasons. `PATCH /api/v1/{team_slug}/{app_slug}/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Product data - `products` (internal_pkg_webserver_v1.BulkPatchProductItem[], required) Request body example: ```json { "products": [ { "brand_id": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "html_description": "string", "html_short_description": "string", "id": "string", "market_status": [ { "market_id": "string", "status": "active", "store_group_id": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_type": "flexible", "short_description": "string", "slug": "string", "status": "active", "tax_group_slug": "string" } ] } ``` **Responses** - `200` — Products updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk soft delete products Source: https://docs.enad.io/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-bulk-soft-delete Soft deletes multiple products by setting their status to 'deleted'. Accepts up to 50 product IDs and returns lists of successful and failed soft deletions with detailed error reasons. `PATCH /api/v1/{team_slug}/{app_slug}/products/bulk/soft-delete` **Deprecated.** **Request body** (`application/json`, required) Product IDs to soft delete - `product_ids` (string[], required) Request body example: ```json { "product_ids": [ "string" ] } ``` **Responses** - `200` — Products soft deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Update a product Source: https://docs.enad.io/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-product-id Partially updates an existing product by ID. Supports updating name, slug, status, descriptions, tax group, brand, dimensions, custom fields, and market status. Only provided fields are updated. Returns the updated product with all related data. `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}` **Deprecated.** **Request body** (`application/json`, required) Product data - `brand_id` (string) — Brand or series of a brand connected to product - `custom` (object) — Custom fields - null or empty string removes the field, other values merge with existing - `description` (string) — Deprecated: read-only in write payloads. Derived from html\_description. - `exclude_from_feeds` (boolean) — Whenever a product should exist in feeds or not - `html_description` (string) — HTML description of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `html_short_description` (string) — HTML Shortdescription of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `market_status` (internal_pkg_webserver_v1.ProductMarketStatus[]) - `meta_description` (string) — Meta description for SEO - `meta_title` (string) — Meta title for SEO - `package_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The package dimensions - `product_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The products dimensions - `product_name` (string) — Name of the product - `product_type` (string) — Product type. Default 'simple' - `short_description` (string) — Deprecated: read-only in write payloads. Derived from html\_short\_description. - `slug` (string) — Slug for the product - `status` (string) — Status of the product - `tax_group_slug` (string) — If provided will the product using the selected tax group. Otherwise will we use the default tax group for the app Request body example: ```json { "brand_id": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "html_description": "string", "html_short_description": "string", "market_status": [ { "market_id": "string", "status": "active", "store_group_id": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_type": "flexible", "short_description": "string", "slug": "string", "status": "active", "tax_group_slug": "string" } ``` **Responses** - `200` — Product updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Soft delete a product Source: https://docs.enad.io/management/management-api/v1/reference/products/patch-api-v1-team-slug-app-slug-products-product-id-soft-delete Marks a product as deleted by setting its status to "deleted" and updating all market statuses accordingly. The product remains in the database but is excluded from normal queries. Sends a delete event to downstream systems. The product can be restored by updating its status. `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/soft-delete` **Deprecated.** **Responses** - `200` — Product deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `409` — Product is used as a component in virtual bundles - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Create a product Source: https://docs.enad.io/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products Creates a new product with the provided details including name, product number, status, tax group, and optional metadata. Returns the created product with all related data including variants, prices, and market status. `POST /api/v1/{team_slug}/{app_slug}/products` **Deprecated.** **Request body** (`application/json`, required) Product data - `brand_id` (string) — Brand or series of a brand connected to product - `custom` (object) — Custom fields - `description` (string) — Deprecated: read-only in write payloads. Derived from html\_description. - `exclude_from_feeds` (boolean) — Whenever a product should exist in feeds or not. Default \`false\` - `html_description` (string) — HTML description of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `html_short_description` (string) — HTML Shortdescription of the description fields. All of the fields which is not related to showing content, e.g \ or \ tags will be stripped from the input - `market_status` (internal_pkg_webserver_v1.ProductMarketStatus[]) - `meta_description` (string) — Meta description for SEO - `meta_title` (string) — Meta title for SEO - `package_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The package dimensions - `product_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) — The products dimensions - `product_name` (string, required) — Name of the product - `product_number` (string, required) — Product number - `product_type` (string) — Product type. Default 'simple' - `short_description` (string) — Deprecated: read-only in write payloads. Derived from html\_short\_description. - `slug` (string) — Slug for the product - `status` (string, required) — Status of the product - `tax_group_slug` (string, required) — The tax group related to the product Request body example: ```json { "brand_id": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "html_description": "string", "html_short_description": "string", "market_status": [ { "market_id": "string", "status": "active", "store_group_id": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "flexible", "short_description": "string", "slug": "string", "status": "active", "tax_group_slug": "string" } ``` **Responses** - `201` — Product created or updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `403` — Forbidden - `500` — Internal server error Response example, 201: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk create products Source: https://docs.enad.io/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products-bulk Creates multiple products in a single request. Accepts up to 20 products and returns lists of successful and failed creations with detailed error reasons. `POST /api/v1/{team_slug}/{app_slug}/products/bulk` **Deprecated.** **Request body** (`application/json`, required) Products data - `products` (internal_pkg_webserver_v1.CreateProductPayload[], required) Request body example: ```json { "products": [ { "brand_id": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "html_description": "string", "html_short_description": "string", "market_status": [ { "market_id": "string", "status": "active", "store_group_id": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "flexible", "short_description": "string", "slug": "string", "status": "active", "tax_group_slug": "string" } ] } ``` **Responses** - `201` — Products created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "failed": [ { "product_number": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ {} ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Duplicate a product Source: https://docs.enad.io/management/management-api/v1/reference/products/post-api-v1-team-slug-app-slug-products-product-id-duplicate Creates a copy of an existing product including its categories, tags, collections, images, videos, files, attributes, and translations. Variants, redirects, and product relations are not copied. The duplicated product status is set to draft. Optionally provide a product_number; otherwise a unique product number is auto-generated. `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/duplicate` **Deprecated.** **Request body** (`application/json`) Optional duplicate overrides - `product_number` (string) — Optional product number for the duplicated product Request body example: ```json { "product_number": "string" } ``` **Responses** - `201` — Product duplicated successfully - `400` — Invalid request (e.g. bad UUID) - `401` — Unauthorized access - `404` — Product not found - `500` — Internal server error Response example, 201: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Add Product to Category Source: https://docs.enad.io/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-categories-category-id Associates a product with a category and sets its display order within that category `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/categories/{category_id}` **Deprecated.** **Request body** (`application/json`, required) Payload - `is_main_category` (boolean) — If this category is the products main category - `order` (integer) — set which order placement the product have in the category Request body example: ```json { "is_main_category": true, "order": 0 } ``` **Responses** - `200` — Category created or updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Add collections to a product Source: https://docs.enad.io/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-collections Deprecated: Use the Collections V2 API. Creates relationships between a product and multiple collections by their IDs. If a collection already has a relationship with the product, it is ignored. Returns the updated product with all related data. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections` **Deprecated.** **Request body** (`application/json`, required) Collection IDs - `collection_ids` (string[]) Request body example: ```json { "collection_ids": [ "string" ] } ``` **Responses** - `200` — Product collections updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Add a collection to a product Source: https://docs.enad.io/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-collections-collection-id Deprecated: Use the Collections V2 API. Creates or updates a relationship between a product and a collection by collection ID. If the relationship exists, the order position is updated. Returns the updated product with all related data. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/collections/{collection_id}` **Deprecated.** **Request body** (`application/json`, required) Set order of the product in the collection - `order` (integer) Request body example: ```json { "order": 0 } ``` **Responses** - `200` — Product collections updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Upload product image Source: https://docs.enad.io/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-images Uploads an image either by file or URL and adds it to a product `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/images` **Deprecated.** **Request body** (`application/x-www-form-urlencoded`) - `image` (any) — Image file to upload - `title` (string) — Title for the image - `alt` (string) — Alternative text for the image - `copyright` (string) — Copyright text for the image - `priority` (number) — Priority for the image list - `url` (string) — URL for image to upload - `public` (boolean) — If image is public or not - `filename` (string) — Custom filename (without extension) - `overwrite` (boolean) — Overwrite the existing image with the same filename instead of creating a new one. Requires filename - `blurhash` (string) — Optional precomputed blurhash. If provided, generation is skipped - `parent_id` (string) — Parent image ID - `attributes` (string[]) — Attribute for image, e.g. white-background Request body example: ```json { "image": null, "title": "string", "alt": "string", "copyright": "string", "priority": 0, "url": "string", "public": true, "filename": "string", "overwrite": true, "blurhash": "string", "parent_id": "string", "attributes": [ "string" ] } ``` **Responses** - `200` — Image uploaded successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Add a tag to a product Source: https://docs.enad.io/management/management-api/v1/reference/products/put-api-v1-team-slug-app-slug-products-product-id-tags-tag-key Creates a relationship between a product and a tag identified by tag key. Optionally specifies the order position of the product within the tag. Returns the updated product with all related data. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/tags/{tag_key}` **Deprecated.** **Request body** (`application/json`, required) Payload - `order` (integer) — set which order placement the product have in the category Request body example: ```json { "order": 0 } ``` **Responses** - `200` — Updated product - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Delete all redirects for an item Source: https://docs.enad.io/management/management-api/v1/reference/redirects/delete-api-v1-team-slug-app-slug-redirects-item-item-id Removes all redirects associated with a specific item `DELETE /api/v1/{team_slug}/{app_slug}/redirects/item/{item_id}` **Deprecated.** **Responses** - `200` — Item redirects removed - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a redirect Source: https://docs.enad.io/management/management-api/v1/reference/redirects/delete-api-v1-team-slug-app-slug-redirects-redirect-id Removes a single redirect by its unique identifier `DELETE /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}` **Deprecated.** **Responses** - `200` — Redirect removed - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all app redirects Source: https://docs.enad.io/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects Retrieves a paginated list of all redirects within the specified application, with optional filtering by type and search query `GET /api/v1/{team_slug}/{app_slug}/redirects` **Deprecated.** **Responses** - `200` — Redirect List - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # List redirects for an item Source: https://docs.enad.io/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects-item-item-id Retrieves all redirects associated with a specific item `GET /api/v1/{team_slug}/{app_slug}/redirects/item/{item_id}` **Deprecated.** **Responses** - `200` — Redirects - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get redirect by ID Source: https://docs.enad.io/management/management-api/v1/reference/redirects/get-api-v1-team-slug-app-slug-redirects-redirect-id Retrieves a single redirect by its unique identifier `GET /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}` **Deprecated.** **Responses** - `200` — Redirect - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" }, "details": [ "string" ], "success": true } ``` --- # Update a redirect Source: https://docs.enad.io/management/management-api/v1/reference/redirects/patch-api-v1-team-slug-app-slug-redirects-redirect-id Updates an existing redirect's properties including old slug, new slug, type, and locale `PATCH /api/v1/{team_slug}/{app_slug}/redirects/{redirect_id}` **Deprecated.** **Request body** (`application/json`, required) Redirect payload - `item_id` (string) - `locale` (string, required) - `new_slug` (string, required) - `old_slug` (string, required) - `type` (github_com_enadhq_nabbit_internal_pkg_webserver_models.RedirectType) Request body example: ```json { "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ``` **Responses** - `200` — Redirect created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" }, "details": [ "string" ], "success": true } ``` --- # Create a new redirect Source: https://docs.enad.io/management/management-api/v1/reference/redirects/post-api-v1-team-slug-app-slug-redirects Creates a new redirect mapping from an old slug to a new slug for an item or generic path `POST /api/v1/{team_slug}/{app_slug}/redirects` **Deprecated.** **Request body** (`application/json`, required) Redirect payload - `item_id` (string) - `locale` (string, required) - `new_slug` (string, required) - `old_slug` (string, required) - `type` (github_com_enadhq_nabbit_internal_pkg_webserver_models.RedirectType) Request body example: ```json { "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ``` **Responses** - `200` — Redirect created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" }, "details": [ "string" ], "success": true } ``` --- # Delete a product relation Source: https://docs.enad.io/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-relation-id Delete a specific product relation by its ID `DELETE /api/v1/{team_slug}/{app_slug}/relations/{relation_id}` **Deprecated.** **Responses** - `200` — Relation deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove a product from a relation Source: https://docs.enad.io/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-relation-id-product-id Remove a specific product from a product relation. If only one product remains in the relation, the entire relation is deleted `DELETE /api/v1/{team_slug}/{app_slug}/relations/{relation_id}/{product_id}` **Deprecated.** **Responses** - `200` — Relation removed when fewer than two products remain; the OpenAPI distribution also accepts OkResponseRelation when it remains - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a relation type Source: https://docs.enad.io/management/management-api/v1/reference/relations/delete-api-v1-team-slug-app-slug-relations-types-type-id Delete a relation type and all its associated product relations from the application `DELETE /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}` **Deprecated.** **Responses** - `200` — Relation type deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all relations for a product Source: https://docs.enad.io/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-products-product-id-relations Retrieve all product relations that involve a specific product `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/relations` **Responses** - `200` — Relations - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "details": [ "string" ], "success": true } ``` --- # List all relations in an app Source: https://docs.enad.io/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations Retrieve all product relations defined within an application, including their associated products `GET /api/v1/{team_slug}/{app_slug}/relations` **Deprecated.** **Responses** - `200` — Relations - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get a product relation Source: https://docs.enad.io/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-relation-id Retrieve a specific relation by its ID, including all associated products and relation details `GET /api/v1/{team_slug}/{app_slug}/relations/{relation_id}` **Deprecated.** **Responses** - `200` — Relation - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" }, "details": [ "string" ], "success": true } ``` --- # List all relation types in an app Source: https://docs.enad.io/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-types Retrieve all relation types defined within an application `GET /api/v1/{team_slug}/{app_slug}/relations/types` **Deprecated.** **Responses** - `200` — Relations Types - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get a relation type Source: https://docs.enad.io/management/management-api/v1/reference/relations/get-api-v1-team-slug-app-slug-relations-types-type-id Retrieve a specific relation type by its ID `GET /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}` **Deprecated.** **Responses** - `200` — Relation types - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a relation type Source: https://docs.enad.io/management/management-api/v1/reference/relations/patch-api-v1-team-slug-app-slug-relations-types-type-id Update the title and/or type identifier of an existing relation type `PATCH /api/v1/{team_slug}/{app_slug}/relations/types/{type_id}` **Deprecated.** **Request body** (`application/json`, required) Relation type data - `title` (string) - `type` (string) Request body example: ```json { "title": "string", "type": "string" } ``` **Responses** - `200` — Relation type updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a product relation Source: https://docs.enad.io/management/management-api/v1/reference/relations/post-api-v1-team-slug-app-slug-relations Create a new relation between multiple products using a specified relation type `POST /api/v1/{team_slug}/{app_slug}/relations` **Deprecated.** **Request body** (`application/json`, required) Relation data - `direction` (string) — Default two\_way - `primary_product_id` (string) - `product_ids` (string[], required) - `relation_type_id` (string, required) Request body example: ```json { "direction": "one_way", "primary_product_id": "string", "product_ids": [ "string" ], "relation_type_id": "string" } ``` **Responses** - `200` — Relation created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a relation type Source: https://docs.enad.io/management/management-api/v1/reference/relations/post-api-v1-team-slug-app-slug-relations-types Create a new relation type that defines how products can be related to each other `POST /api/v1/{team_slug}/{app_slug}/relations/types` **Deprecated.** **Request body** (`application/json`, required) Relation type data - `title` (string) - `type` (string) Request body example: ```json { "title": "string", "type": "string" } ``` **Responses** - `200` — Relation type created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add a product to a relation Source: https://docs.enad.io/management/management-api/v1/reference/relations/put-api-v1-team-slug-app-slug-relations-relation-id-product-id Add an existing product to an existing product relation `PUT /api/v1/{team_slug}/{app_slug}/relations/{relation_id}/{product_id}` **Deprecated.** **Responses** - `200` — Product added to relation successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Delete Scheduled Jobs Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-bulk Cancels and removes multiple scheduled jobs in a single request. Returns lists of successful deletions and failed operations with reasons. `DELETE /api/v1/{team_slug}/{app_slug}/schedule/bulk` **Deprecated.** **Request body** (`application/json`, required) Job IDs to delete - `job_ids` (string[], required) Request body example: ```json { "job_ids": [ "string" ] } ``` **Responses** - `200` — Jobs deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "id": "string", "item_name": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Delete Scheduled Job Group Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-groups-group-id Deletes a scheduled job group and all jobs belonging to the group. `DELETE /api/v1/{team_slug}/{app_slug}/schedule/groups/{group_id}` **Deprecated.** **Responses** - `200` — Group deleted - `400` — Invalid request - `401` — Unauthorized access - `404` — Group not found - `500` — Internal server error Response example, 200: ```json { "data": { "id": "string", "name": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete Scheduled Job Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/delete-api-v1-team-slug-app-slug-schedule-job-id Cancels and removes a scheduled job by its ID. The job will no longer execute at the scheduled time. `DELETE /api/v1/{team_slug}/{app_slug}/schedule/{job_id}` **Deprecated.** **Responses** - `200` — Job is scheduled - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "id": "string", "item_name": "string" }, "details": [ "string" ], "success": true } ``` --- # List Scheduled Jobs Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule Retrieves all scheduled jobs for an application with pagination and optional date range filtering. Supports filtering by execution date range. `GET /api/v1/{team_slug}/{app_slug}/schedule` **Deprecated.** **Responses** - `200` — Scheduled jobs - `400` — Invalid request (e.g. bad query params) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # List Scheduled Job Groups Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-groups Retrieves all scheduled job groups for an application. `GET /api/v1/{team_slug}/{app_slug}/schedule/groups` **Deprecated.** **Responses** - `200` — Scheduled job groups - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "jobs": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "name": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get Scheduled Job Group Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-groups-group-id Retrieves a single scheduled job group including all jobs in the group. `GET /api/v1/{team_slug}/{app_slug}/schedule/groups/{group_id}` **Deprecated.** **Responses** - `200` — Scheduled job group - `400` — Invalid request - `401` — Unauthorized access - `404` — Group not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "jobs": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "name": "string" }, "details": [ "string" ], "success": true } ``` --- # Get Item Scheduled Jobs Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/get-api-v1-team-slug-app-slug-schedule-item-id Retrieves all scheduled jobs associated with a specific item (product, tag, image, price, or variant). Returns all pending jobs for the item. `GET /api/v1/{team_slug}/{app_slug}/schedule/{item_id}` **Deprecated.** **Responses** - `200` — Job is scheduled - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Create Scheduled Job Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule Schedules a new job to modify item status, price, tags, categories, or collections at a specified future date. Supports products, tags, images, prices, and variants. `POST /api/v1/{team_slug}/{app_slug}/schedule` **Deprecated.** **Request body** (`application/json`, required) Scheduling data - `add_categories` (string[]) - `add_collections` (string[]) - `add_tags` (string[]) - `execute_at` (string, required) — Execute at is the date when the product should change date. This date need to follow the format \`YYYY-MM-DD\` - `item_id` (string, required) - `item_type` (string, required) - `remove_categories` (string[]) - `remove_collections` (string[]) - `remove_tags` (string[]) - `to_market_id` (string) — Market ID for market status change. Only used when item\_type is \`product\` - `to_market_status` (string) — Target market status. Only used when item\_type is \`product\` - `to_on_sale` (boolean) — Used to change if a price is on sale on a specific date. Only used when item\_type is \`price\` - `to_price_with_tax` (integer) — Used to change the price on a specific date. Only used when item\_type is \`price\` - `to_sale_price_with_tax` (integer) — Used to change the sale price on a specific date. Only used when item\_type is \`price\` - `to_start_sale_timestamp` (string) — Used to set the start sale timestamp on a specific date. Only used when item\_type is \`price\`. Expects RFC3339 format. - `to_status` (string) - `to_stop_sale_timestamp` (string) — Used to set the stop sale timestamp on a specific date. Only used when item\_type is \`price\`. Expects RFC3339 format. - `to_store_group_id` (string) — Store group ID for market status change. Only used when item\_type is \`product\` Request body example: ```json { "add_categories": [ "string" ], "add_collections": [ "string" ], "add_tags": [ "string" ], "execute_at": "string", "item_id": "string", "item_type": "product", "remove_categories": [ "string" ], "remove_collections": [ "string" ], "remove_tags": [ "string" ], "to_market_id": "string", "to_market_status": "active", "to_on_sale": true, "to_price_with_tax": 0, "to_sale_price_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "active", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ``` **Responses** - `200` — Job is scheduled - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Scheduled Jobs Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule-bulk Creates multiple scheduled jobs in a single request. Each job can modify different items and their properties at specified future dates. Returns both successful and failed operations. `POST /api/v1/{team_slug}/{app_slug}/schedule/bulk` **Deprecated.** **Request body** (`application/json`, required) Scheduling data - `jobs` (internal_pkg_webserver_v1.CreateSchedulingPayload[], required) Request body example: ```json { "jobs": [ { "add_categories": [ "string" ], "add_collections": [ "string" ], "add_tags": [ "string" ], "execute_at": "string", "item_id": "string", "item_type": "product", "remove_categories": [ "string" ], "remove_collections": [ "string" ], "remove_tags": [ "string" ], "to_market_id": "string", "to_market_status": "active", "to_on_sale": true, "to_price_with_tax": 0, "to_sale_price_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "active", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ] } ``` **Responses** - `200` — Jobs scheduled - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "item_id": "string", "item_type": "string", "reason": "string" } ], "successful": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create Scheduled Job Group Source: https://docs.enad.io/management/management-api/v1/reference/scheduling/post-api-v1-team-slug-app-slug-schedule-groups Creates a named group containing multiple scheduled jobs in a single transaction. `POST /api/v1/{team_slug}/{app_slug}/schedule/groups` **Deprecated.** **Request body** (`application/json`, required) Scheduling group data - `jobs` (internal_pkg_webserver_v1.CreateSchedulingPayload[], required) - `name` (string, required) Request body example: ```json { "jobs": [ { "add_categories": [ "string" ], "add_collections": [ "string" ], "add_tags": [ "string" ], "execute_at": "string", "item_id": "string", "item_type": "product", "remove_categories": [ "string" ], "remove_collections": [ "string" ], "remove_tags": [ "string" ], "to_market_id": "string", "to_market_status": "active", "to_on_sale": true, "to_price_with_tax": 0, "to_sale_price_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "active", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "name": "string" } ``` **Responses** - `200` — Group created - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "jobs": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "name": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a smart listing Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/delete-api-v1-team-slug-app-slug-smart-listings-listing-id Deletes a smart listing by its ID `DELETE /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}` **Deprecated.** **Request body** (`application/json`, required) smart-listing configuration - `rules` (internal_pkg_webserver_v1.ListingRuleRequest[], required) - `slug` (string, required) Request body example: ```json { "rules": [ { "operator": "equal", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string" } ``` **Responses** - `200` — smart-listing deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Could not find smart-listing to delete - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all smart listings Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/get-api-v1-team-slug-app-slug-smart-listings Retrieves all smart listings configured for the app `GET /api/v1/{team_slug}/{app_slug}/smart-listings` **Deprecated.** **Request body** (`application/json`, required) smart-listing configuration - `rules` (internal_pkg_webserver_v1.ListingRuleRequest[], required) - `slug` (string, required) Request body example: ```json { "rules": [ { "operator": "equal", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string" } ``` **Responses** - `200` — All smart-listings for the app - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "rules": [ { "id": "string", "operator": "less-than", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string", "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get a smart listing Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/get-api-v1-team-slug-app-slug-smart-listings-listing-id Retrieves a specific smart listing by its ID `GET /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}` **Deprecated.** **Responses** - `200` — smart-listing returned successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Could not find smart-listing to update - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "rules": [ { "id": "string", "operator": "less-than", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a smart listing Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/post-api-v1-team-slug-app-slug-smart-listings Creates a new smart listing with the specified rules for filtering product variants `POST /api/v1/{team_slug}/{app_slug}/smart-listings` **Deprecated.** **Request body** (`application/json`, required) smart-listing configuration - `rules` (internal_pkg_webserver_v1.ListingRuleRequest[], required) - `slug` (string, required) Request body example: ```json { "rules": [ { "operator": "equal", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string" } ``` **Responses** - `200` — smart-listing created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "rules": [ { "id": "string", "operator": "less-than", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Preview smart listing results Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/post-api-v1-team-slug-app-slug-smart-listings-preview Returns all product variants that match the specified listing rules without creating a listing `POST /api/v1/{team_slug}/{app_slug}/smart-listings/preview` **Deprecated.** **Request body** (`application/json`, required) smart-listing configuration - `rules` (internal_pkg_webserver_v1.ListingRuleRequest[], required) - `slug` (string, required) Request body example: ```json { "rules": [ { "operator": "equal", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string" } ``` **Responses** - `200` — All product-variants affected by the listing rules - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "app_id": "string", "attributes": [ { "template_id": "string", "template_name": "string", "values": [ "string" ] } ], "category_slugs": [ "string" ], "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "image_urls": [ "string" ], "prices": [ { "amount": 0, "currency": "string", "on_sale": true } ], "product_id": "string", "product_name": "string", "total_stock": 0, "variant_name": "string", "variant_number": "string", "warehouse_stocks": [ { "stock": 0, "warehouse_id": "string" } ] } ], "details": [ "string" ], "success": true } ``` --- # Update a smart listing Source: https://docs.enad.io/management/management-api/v1/reference/smart-listings/put-api-v1-team-slug-app-slug-smart-listings-listing-id Updates an existing smart listing's configuration and rules `PUT /api/v1/{team_slug}/{app_slug}/smart-listings/{listing_id}` **Deprecated.** **Request body** (`application/json`, required) smart-listing configuration - `rules` (internal_pkg_webserver_v1.ListingRuleRequest[], required) - `slug` (string, required) Request body example: ```json { "rules": [ { "operator": "equal", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string" } ``` **Responses** - `200` — smart-listing updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Could not find smart-listing to update - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "rules": [ { "id": "string", "operator": "less-than", "target": "stock", "target_id": "string", "value_float": 0, "value_list": [ "string" ], "value_string": "string" } ], "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a static listing Source: https://docs.enad.io/management/management-api/v1/reference/static-listings/delete-api-v1-team-slug-app-slug-static-listings-listing-id Deletes a static listing and triggers product update events `DELETE /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}` **Deprecated.** **Responses** - `200` — static-listing deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Get all static listings Source: https://docs.enad.io/management/management-api/v1/reference/static-listings/get-api-v1-team-slug-app-slug-static-listings Retrieves all static listings configured for the app `GET /api/v1/{team_slug}/{app_slug}/static-listings` **Deprecated.** **Responses** - `200` — static-listings retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "slug": "string", "updated_at": "string", "variants": [ { "app_id": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "product_id": "string", "product_name": "string", "variant_name": "string", "variant_number": "string" } ] } ], "details": [ "string" ], "success": true } ``` --- # Get a static listing Source: https://docs.enad.io/management/management-api/v1/reference/static-listings/get-api-v1-team-slug-app-slug-static-listings-listing-id Retrieves a specific static listing by its ID `GET /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}` **Deprecated.** **Responses** - `200` — static-listing retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "slug": "string", "updated_at": "string", "variants": [ { "app_id": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "product_id": "string", "product_name": "string", "variant_name": "string", "variant_number": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create a static listing Source: https://docs.enad.io/management/management-api/v1/reference/static-listings/post-api-v1-team-slug-app-slug-static-listings Creates a new static listing with the specified slug and variant IDs for the app `POST /api/v1/{team_slug}/{app_slug}/static-listings` **Deprecated.** **Request body** (`application/json`, required) static-listing configuration - `slug` (string, required) - `variant_ids` (string[], required) Request body example: ```json { "slug": "string", "variant_ids": [ "string" ] } ``` **Responses** - `200` — static-listing created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "slug": "string", "updated_at": "string", "variants": [ { "app_id": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "product_id": "string", "product_name": "string", "variant_name": "string", "variant_number": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update a static listing Source: https://docs.enad.io/management/management-api/v1/reference/static-listings/put-api-v1-team-slug-app-slug-static-listings-listing-id Updates an existing static listing's slug and variant IDs `PUT /api/v1/{team_slug}/{app_slug}/static-listings/{listing_id}` **Deprecated.** **Request body** (`application/json`, required) static-listing configuration - `slug` (string, required) - `variant_ids` (string[], required) Request body example: ```json { "slug": "string", "variant_ids": [ "string" ] } ``` **Responses** - `200` — static-listing updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "slug": "string", "updated_at": "string", "variants": [ { "app_id": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "product_id": "string", "product_name": "string", "variant_name": "string", "variant_number": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Delete a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/delete-api-v1-team-slug-app-slug-store-groups-store-group-slug Deletes a store group by its slug. The store group must not have any markets attached or merchant users associated with it. This operation also removes any related product pricing for the store group. `DELETE /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}` **Deprecated.** **Responses** - `200` — Store group deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove a market from a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/delete-api-v1-team-slug-app-slug-store-groups-store-group-slug-market-market-slug Removes a market from a store group. The market must not have any prices attached to it within the store group. Returns the updated store group with remaining markets. `DELETE /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}/market/{market_slug}` **Deprecated.** **Responses** - `200` — Market removed from store group successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all store groups Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/get-api-v1-team-slug-app-slug-store-groups Retrieves all store groups for the specified app, including their associated markets with pricing and tax configuration details. `GET /api/v1/{team_slug}/{app_slug}/store-groups` **Deprecated.** **Responses** - `200` — Store groups retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/get-api-v1-team-slug-app-slug-store-groups-store-group-slug Retrieves a single store group by its slug, including all associated markets with their pricing and tax configuration details. `GET /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}` **Deprecated.** **Responses** - `200` — Store group retrieved successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/patch-api-v1-team-slug-app-slug-store-groups-store-group-slug Updates an existing store group's name, slug, store type, and associated markets. Markets specified in the payload will be added to the store group. `PATCH /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}` **Deprecated.** **Request body** (`application/json`, required) Store group data - `country_of_sale` (string, required) — Country value needs to follow ISO3166\_1\_alpha2, which means we want a country value written in alpha-2 two-letter country codes, Example: SE or FI - `description` (string) - `markets` (string[]) — The slug of the markets which should be related to this store group - `name` (string, required) - `slug` (string, required) - `store_type` (string) Request body example: ```json { "country_of_sale": "string", "description": "string", "markets": [ "string" ], "name": "string", "slug": "string", "store_type": "b2c" } ``` **Responses** - `200` — Store group updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/post-api-v1-team-slug-app-slug-store-groups Creates a new store group with the specified name, slug, store type, and optional markets. The store group defines pricing and availability settings for products across multiple markets. `POST /api/v1/{team_slug}/{app_slug}/store-groups` **Deprecated.** **Request body** (`application/json`, required) Store group data - `country_of_sale` (string, required) — Country value needs to follow ISO3166\_1\_alpha2, which means we want a country value written in alpha-2 two-letter country codes, Example: SE or FI - `description` (string) - `markets` (string[]) — The slug of the markets which should be related to this store group - `name` (string, required) - `slug` (string, required) - `store_type` (string) Request body example: ```json { "country_of_sale": "string", "description": "string", "markets": [ "string" ], "name": "string", "slug": "string", "store_type": "b2c" } ``` **Responses** - `200` — Store group created successfully - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add a market to a store group Source: https://docs.enad.io/management/management-api/v1/reference/store-groups/put-api-v1-team-slug-app-slug-store-groups-store-group-slug-market-market-slug Adds a market to a store group with configurable tax settings for price inclusion and exemption eligibility. The market must exist in the app. `PUT /api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}/market/{market_slug}` **Deprecated.** **Request body** (`application/json`, required) Market-specific tax settings for the store group - `is_tax_exemption_eligible` (boolean) - `is_tax_included_in_price` (boolean) Request body example: ```json { "is_tax_exemption_eligible": true, "is_tax_included_in_price": true } ``` **Responses** - `200` — Market added to store group successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "is_tax_exemption_eligible": true, "is_tax_included_in_price": true, "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Remove Products from Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-products-tags-bulk Removes associations between multiple products and multiple tags in a single request. Deletes product-tag relationships. `DELETE /api/v1/{team_slug}/{app_slug}/products/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and tag relationships to delete - `items` (internal_pkg_webserver_v1.BulkProductTagRelationshipItem[], required) Request body example: ```json { "items": [ { "product_ids": [ "string" ], "tag_id": "string" } ] } ``` **Responses** - `200` — Products removed from tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "product_id": "string", "reason": "string", "tag_id": "string" } ], "successful": [ { "product_ids": [ "string" ], "tag_id": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Delete Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-bulk Deletes multiple tags by their IDs in a single request. Returns lists of successful and failed deletions. `DELETE /api/v1/{team_slug}/{app_slug}/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Tag IDs to delete - `tag_ids` (string[], required) Request body example: ```json { "tag_ids": [ "string" ] } ``` **Responses** - `200` — Tags deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete a tag Source: https://docs.enad.io/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-tag-key Permanently deletes a tag and removes all its associations with variants, markets, and other entities. `DELETE /api/v1/{team_slug}/{app_slug}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Tag deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove tag from market Source: https://docs.enad.io/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-tags-tag-key-markets-market-slug Removes the relationship between a tag and a market, making the tag unavailable in that market. `DELETE /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Tag with updated market associations - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Remove Variants from Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/delete-api-v1-team-slug-app-slug-variants-tags-bulk Removes associations between multiple variants and multiple tags in a single request. Deletes variant-tag relationships. `DELETE /api/v1/{team_slug}/{app_slug}/variants/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Variant and tag relationships to delete - `items` (internal_pkg_webserver_v1.BulkVariantTagRelationshipItem[], required) Request body example: ```json { "items": [ { "tag_id": "string", "variant_ids": [ "string" ] } ] } ``` **Responses** - `200` — Variants removed from tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "reason": "string", "tag_id": "string", "variant_id": "string" } ], "successful": [ { "tag_id": "string", "variant_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # List all tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags Retrieves all tags for an application including attributes, translations, associated markets, and scheduled jobs. Supports search filtering and pagination. `GET /api/v1/{team_slug}/{app_slug}/tags` **Deprecated.** **Responses** - `200` — List of tags with full details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a tag by key Source: https://docs.enad.io/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags-tag-key Retrieves a single tag including its attributes, translations, associated markets, and scheduled jobs. `GET /api/v1/{team_slug}/{app_slug}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Tag data with full details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List products by tag Source: https://docs.enad.io/management/management-api/v1/reference/tags/get-api-v1-team-slug-app-slug-tags-tag-key-products Retrieves all products that have the specified tag, with pagination support. Returns full product details including variants and attributes. `GET /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/products` **Deprecated.** **Responses** - `200` — List of products with the specified tag - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `422` — Invalid request and not parsable by backend - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "brand": { "address": { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "postal_code": "string", "state_province": "string", "street_address": "string" }, "email": "string", "id": "string", "name": "string", "series": { "id": "string", "name": "string", "slug": "string" }, "slug": "string" }, "categories": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "children": [ {} ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "cover_url": "string", "created_at": "string", "description": "string", "google_product_category_id": "string", "id": "string", "is_main_category": true, "name": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "seo": { "meta_description": "string", "meta_title": "string" }, "slug": "string", "sort_order": 0, "status": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "collections": [ { "children": [ { "children": [ {} ], "created_at": "string", "id": "string", "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "id": "string", "order": 0, "parent_id": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "slug": "string", "status": "active", "title": "string", "translations": { "slug": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "uri": "string" } ], "created_at": "string", "custom": { "property1": "string", "property2": "string" }, "description": "string", "exclude_from_feeds": true, "files": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "folder_id": "string", "id": "string", "public": true, "title": "string", "translations": { "title": [ { "id": "string", "locale": "string", "value": "string" } ], "type": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "updated_at": "string", "url": "string" } ], "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "market_status": [ { "created_at": "string", "market_id": "string", "market_slug": "string", "status": "string", "store_group_id": "string", "store_group_slug": "string", "updated_at": "string" } ], "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "meta_description": "string", "meta_title": "string", "package_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "product_name": "string", "product_number": "string", "product_type": "string", "redirects": [ { "created_at": "string", "id": "string", "item_id": "string", "locale": "string", "new_slug": "string", "old_slug": "string", "type": "product" } ], "relations": [ { "direction": "string", "id": "string", "primary_product_id": "string", "products": [ { "description": "string", "id": "string", "image_url": "string", "product_name": "string", "product_number": "string", "slug": "string" } ], "title": "string", "type": "string", "type_id": "string" } ], "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "short_description": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "tax_group_id": "string", "third_part_links": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_description": [ { "id": "string", "locale": "string", "value": "string" } ], "html_short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_description": [ { "id": "string", "locale": "string", "value": "string" } ], "meta_title": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "short_description": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variant_groups": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "variants": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Bulk Update Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/patch-api-v1-team-slug-app-slug-tags-bulk Updates multiple tags in a single request. Supports partial updates where only specified fields are modified. `PATCH /api/v1/{team_slug}/{app_slug}/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Tags data to update - `tags` (internal_pkg_webserver_v1.BulkPatchTagItem[], required) Request body example: ```json { "tags": [ { "filterable": true, "id": "string", "name": "string", "new_key": "string", "status": "active" } ] } ``` **Responses** - `200` — Tags updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Update a tag Source: https://docs.enad.io/management/management-api/v1/reference/tags/patch-api-v1-team-slug-app-slug-tags-tag-key Updates an existing tag's key, name, status, and filterable properties. Only provided fields are updated. `PATCH /api/v1/{team_slug}/{app_slug}/tags/{tag_key}` **Deprecated.** **Request body** (`application/json`, required) Tag update data - `attributes_keys` (string[]) - `filterable` (boolean) - `name` (string) - `new_key` (string) - `status` (string) Request body example: ```json { "attributes_keys": [ "string" ], "filterable": true, "name": "string", "new_key": "string", "status": "active" } ``` **Responses** - `200` — Tag updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new tag Source: https://docs.enad.io/management/management-api/v1/reference/tags/post-api-v1-team-slug-app-slug-tags Creates a new tag with the specified key, name, status, and filterable properties. The tag is automatically associated with all app markets. `POST /api/v1/{team_slug}/{app_slug}/tags` **Deprecated.** **Request body** (`application/json`, required) Tag creation data - `attributes_keys` (string[]) - `filterable` (boolean) - `key` (string, required) - `name` (string, required) - `status` (string, required) Request body example: ```json { "attributes_keys": [ "string" ], "filterable": true, "key": "string", "name": "string", "status": "active" } ``` **Responses** - `200` — Tag created successfully - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Create Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/post-api-v1-team-slug-app-slug-tags-bulk Creates multiple tags in a single request. Returns lists of successful and failed tag creations with detailed error reasons. `POST /api/v1/{team_slug}/{app_slug}/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Tags data to create - `tags` (internal_pkg_webserver_v1.CreateTagPayload[], required) Request body example: ```json { "tags": [ { "attributes_keys": [ "string" ], "filterable": true, "key": "string", "name": "string", "status": "active" } ] } ``` **Responses** - `201` — Tags created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "failed": [ { "key": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Add Products to Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-products-tags-bulk Associates multiple products with multiple tags in a single request. Creates product-tag relationships. `PUT /api/v1/{team_slug}/{app_slug}/products/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Product and tag relationships to create - `items` (internal_pkg_webserver_v1.BulkProductTagRelationshipItem[], required) Request body example: ```json { "items": [ { "product_ids": [ "string" ], "tag_id": "string" } ] } ``` **Responses** - `200` — Products added to tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "product_id": "string", "reason": "string", "tag_id": "string" } ], "successful": [ { "product_ids": [ "string" ], "tag_id": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Associate tag with market Source: https://docs.enad.io/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-tags-tag-key-markets-market-slug Creates a relationship between a tag and a market, making the tag available in that market. `PUT /api/v1/{team_slug}/{app_slug}/tags/{tag_key}/markets/{market_slug}` **Deprecated.** **Responses** - `200` — Tag with new market association - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk Add Variants to Tags Source: https://docs.enad.io/management/management-api/v1/reference/tags/put-api-v1-team-slug-app-slug-variants-tags-bulk Associates multiple variants with multiple tags in a single request. Creates variant-tag relationships. `PUT /api/v1/{team_slug}/{app_slug}/variants/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Variant and tag relationships to create - `items` (internal_pkg_webserver_v1.BulkVariantTagRelationshipItem[], required) Request body example: ```json { "items": [ { "tag_id": "string", "variant_ids": [ "string" ] } ] } ``` **Responses** - `200` — Variants added to tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "reason": "string", "tag_id": "string", "variant_id": "string" } ], "successful": [ { "tag_id": "string", "variant_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # Delete a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/delete-api-v1-team-slug-app-slug-tax-groups-tax-group-slug Permanently deletes a tax group by its slug, including all associated market configurations and tax percentages. `DELETE /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}` **Deprecated.** **Responses** - `200` — Tax group deleted successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Tax group not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove a market from a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/delete-api-v1-team-slug-app-slug-tax-groups-tax-group-slug-market-market-slug Removes a market association from a tax group and deletes all country-specific tax percentages for that market. `DELETE /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}/market/{market_slug}` **Deprecated.** **Responses** - `200` — Market removed from tax group successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Tax group or market not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all tax groups Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/get-api-v1-team-slug-app-slug-tax-groups Retrieves all tax groups for an application, including their associated markets and country-specific tax percentages. `GET /api/v1/{team_slug}/{app_slug}/tax-groups` **Deprecated.** **Responses** - `200` — List of tax groups - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/get-api-v1-team-slug-app-slug-tax-groups-tax-group-slug Retrieves a specific tax group by its slug, including associated markets and country-specific tax percentages. `GET /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}` **Deprecated.** **Responses** - `200` — Tax group details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Tax group not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/patch-api-v1-team-slug-app-slug-tax-groups-tax-group-slug Updates an existing tax group's name, slug, description, and default status. If marked as default, removes default status from other tax groups. `PATCH /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}` **Deprecated.** **Request body** (`application/json`, required) Tax group data - `description` (string) - `is_default` (boolean) — If this tax group is the default tax group. If a product is created without a tax group will this tax group be selected - `name` (string, required) - `slug` (string, required) Request body example: ```json { "description": "string", "is_default": true, "name": "string", "slug": "string" } ``` **Responses** - `200` — Tax group updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/post-api-v1-team-slug-app-slug-tax-groups Creates a new tax group with name, slug, description, and default status. If marked as default, removes default status from other tax groups. `POST /api/v1/{team_slug}/{app_slug}/tax-groups` **Deprecated.** **Request body** (`application/json`, required) Tax group data - `description` (string) - `is_default` (boolean) — If this tax group is the default tax group. If a product is created without a tax group will this tax group be selected - `name` (string, required) - `slug` (string, required) Request body example: ```json { "description": "string", "is_default": true, "name": "string", "slug": "string" } ``` **Responses** - `201` — Tax group created - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add a market to a tax group Source: https://docs.enad.io/management/management-api/v1/reference/tax-groups/put-api-v1-team-slug-app-slug-tax-groups-tax-group-slug-market-market-slug Associates a market with a tax group and configures country-specific tax percentages for all countries in the market. `PUT /api/v1/{team_slug}/{app_slug}/tax-groups/{tax_group_slug}/market/{market_slug}` **Deprecated.** **Request body** (`application/json`, required) Country tax percentages - `country_tax_percentages` (internal_pkg_webserver_v1.InputTaxGroupCountryTaxPercentage[], required) Request body example: ```json { "country_tax_percentages": [ { "country_code": "string", "tax_percentage": 0 } ] } ``` **Responses** - `200` — Market added to tax group successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Tax group or market not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "description": "string", "id": "string", "is_default": true, "markets": [ { "active": true, "country_codes": [ "string" ], "country_tax_percentages": [ { "country_code": "string", "created_at": "string", "id": "string", "tax_percentage": 0, "updated_at": "string" } ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a third-party link Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/delete-api-v1-team-slug-app-slug-third-party-links-third-party-link-id Permanently removes a third-party link and its associations with products `DELETE /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}` **Deprecated.** **Responses** - `200` — Third-party link deleted successfully - `400` — Invalid request (e.g., bad UUID) - `401` — Unauthorized access - `404` — Third-party link not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Unlink a third-party link from a product Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/delete-api-v1-team-slug-app-slug-third-party-links-third-party-link-id-relationships-item-id Removes the association between a third-party link and a product `DELETE /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}/relationships/{item_id}` **Deprecated.** **Responses** - `200` — Relationship removed successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all third-party links Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/get-api-v1-team-slug-app-slug-third-party-links Retrieves all third-party links associated with the specified application `GET /api/v1/{team_slug}/{app_slug}/third-party-links` **Deprecated.** **Responses** - `200` — Third-party links retrieved successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get a third-party link Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/get-api-v1-team-slug-app-slug-third-party-links-third-party-link-id Retrieves details of a specific third-party link by its ID `GET /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}` **Deprecated.** **Responses** - `200` — Third-party link retrieved successfully - `400` — Invalid request (e.g., bad UUID) - `401` — Unauthorized access - `404` — Third-party link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a third-party link Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/patch-api-v1-team-slug-app-slug-third-party-links-third-party-link-id Updates the properties (title, type, or URL) of an existing third-party link `PATCH /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}` **Deprecated.** **Request body** (`application/json`, required) Third-party link update data - `title` (string) - `type` (string) - `url` (string) Request body example: ```json { "title": "string", "type": "image", "url": "string" } ``` **Responses** - `200` — Third-party link updated successfully - `400` — Invalid request (e.g., bad UUID, validation error) - `401` — Unauthorized access - `404` — Third-party link not found - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new third-party link Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/post-api-v1-team-slug-app-slug-third-party-links Creates a new third-party link resource (image, video, or external link) associated with the specified app `POST /api/v1/{team_slug}/{app_slug}/third-party-links` **Deprecated.** **Request body** (`application/json`, required) Third-party link payload - `title` (string, required) - `type` (string) - `url` (string) Request body example: ```json { "title": "string", "type": "image", "url": "string" } ``` **Responses** - `200` — Third-party link created successfully - `400` — Invalid request (e.g., bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "title": "string", "type": "string", "updated_at": "string", "url": "string" }, "details": [ "string" ], "success": true } ``` --- # Link a third-party link to a product Source: https://docs.enad.io/management/management-api/v1/reference/third-party-link/put-api-v1-team-slug-app-slug-third-party-links-third-party-link-id-relationships-item-id Creates an association between a third-party link and a product `PUT /api/v1/{team_slug}/{app_slug}/third-party-links/{third_party_link_id}/relationships/{item_id}` **Deprecated.** **Responses** - `200` — Relationship created successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Product not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete translation by ID Source: https://docs.enad.io/management/management-api/v1/reference/translations/delete-api-v1-team-slug-app-slug-translations-translation-id Permanently removes a translation record from the system by its unique identifier `DELETE /api/v1/{team_slug}/{app_slug}/translations/{translation_id}` **Deprecated.** **Responses** - `200` — Translation deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List all translations Source: https://docs.enad.io/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations Retrieves a paginated list of all translations for the application with optional filtering by parent type and field type `GET /api/v1/{team_slug}/{app_slug}/translations` **Deprecated.** **Responses** - `200` — Translations - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # List translations by parent reference Source: https://docs.enad.io/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations-ref-parent-ref Retrieves all translations associated with a specific parent item identified by its UUID reference `GET /api/v1/{team_slug}/{app_slug}/translations/ref/{parent_ref}` **Deprecated.** **Responses** - `200` — Translations - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ], "details": [ "string" ], "success": true } ``` --- # Get translation by ID Source: https://docs.enad.io/management/management-api/v1/reference/translations/get-api-v1-team-slug-app-slug-translations-translation-id Retrieves a single translation record by its unique identifier `GET /api/v1/{team_slug}/{app_slug}/translations/{translation_id}` **Deprecated.** **Responses** - `200` — Translation - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not Found - `500` — Internal server error Response example, 200: ```json { "data": { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" }, "details": [ "string" ], "success": true } ``` --- # Create translation Source: https://docs.enad.io/management/management-api/v1/reference/translations/post-api-v1-team-slug-app-slug-translations Creates a new translation record for a parent item with support for automatic slug generation for products `POST /api/v1/{team_slug}/{app_slug}/translations` **Deprecated.** **Request body** (`application/json`, required) Translation data - `create_slug` (boolean) — if this is true and the fieldType is name, a slug is generated from the translation, or formatted as a slug when the fieldType is slug. Generating a slug from a name is only available to products as of now. An existing slug is only replaced when the app automates redirect creation. - `field_type` (github_com_enadhq_nabbit_internal_pkg_database.TranslationFieldType, required) - `language_code` (string, required) — Locale code like "en" or "en-gb". The locale also needs to be configured and supported by the app. - `parent_ref` (string, required) - `parent_type` (github_com_enadhq_nabbit_internal_pkg_database.TranslationType) - `translation` (string, required) Request body example: ```json { "create_slug": true, "field_type": "name", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ``` **Responses** - `200` — Translation created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk create translations Source: https://docs.enad.io/management/management-api/v1/reference/translations/post-api-v1-team-slug-app-slug-translations-bulk Creates multiple translation records in a single request (max 30) with support for automatic slug generation for products `POST /api/v1/{team_slug}/{app_slug}/translations/bulk` **Deprecated.** **Request body** (`application/json`, required) Translation data, max 30 translations Request body example: ```json [ { "create_slug": true, "field_type": "name", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ] ``` **Responses** - `200` — Translations created successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Bulk update translations Source: https://docs.enad.io/management/management-api/v1/reference/translations/put-api-v1-team-slug-app-slug-translations-bulk Updates multiple translation records in a single request with support for automatic redirect creation for slug changes `PUT /api/v1/{team_slug}/{app_slug}/translations/bulk` **Deprecated.** **Request body** (`application/json`, required) Translation data Request body example: ```json [ { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ] ``` **Responses** - `200` — Translation updates successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Update translation Source: https://docs.enad.io/management/management-api/v1/reference/translations/put-api-v1-team-slug-app-slug-translations-translation-id Updates an existing translation record with automatic redirect creation for slug changes when enabled `PUT /api/v1/{team_slug}/{app_slug}/translations/{translation_id}` **Deprecated.** **Request body** (`application/json`, required) Translation data - `create_slug` (boolean) — if this is true and the fieldType is name, a slug is generated from the translation, or formatted as a slug when the fieldType is slug. Generating a slug from a name is only available to products as of now. An existing slug is only replaced when the app automates redirect creation. - `field_type` (github_com_enadhq_nabbit_internal_pkg_database.TranslationFieldType, required) - `language_code` (string, required) — Locale code like "en" or "en-gb". The locale also needs to be configured and supported by the app. - `parent_ref` (string, required) - `parent_type` (github_com_enadhq_nabbit_internal_pkg_database.TranslationType) - `translation` (string, required) Request body example: ```json { "create_slug": true, "field_type": "name", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" } ``` **Responses** - `200` — Translation updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "field_type": "name", "id": "string", "language_code": "string", "parent_ref": "string", "parent_type": "product", "translation": "string" }, "details": [ "string" ], "success": true } ``` --- # Delete a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id Deletes a variant group and its image relationships `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}` **Deprecated.** **Responses** - `200` — Variant group deleted - `400` — Invalid group ID - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": "string", "success": true } ``` --- # Remove a tag from a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-tags-tag-key Removes the relationship between a variant group and a tag identified by tag key. Returns the updated variant group with all related data. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Updated variant group - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Remove Variant Groups from Tags Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/delete-api-v1-team-slug-app-slug-variant-groups-tags-bulk Removes associations between multiple variant groups and multiple tags in a single request. Deletes variant group-tag relationships. `DELETE /api/v1/{team_slug}/{app_slug}/variant-groups/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Variant group and tag relationships to delete (max 50) - `items` (internal_pkg_webserver_v1.BulkVariantGroupTagRelationshipItem[], required) Request body example: ```json { "items": [ { "tag_id": "string", "variant_group_ids": [ "string" ] } ] } ``` **Responses** - `200` — Variant groups removed from tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_removals": [ { "reason": "string", "tag_id": "string", "variant_group_id": "string" } ], "successful_removals": [ { "tag_id": "string", "variant_group_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # List variant groups Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-products-product-id-variant-groups Returns all variant groups for a product `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups` **Deprecated.** **Responses** - `200` — Variant groups list - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "details": [ "string" ], "success": true } ``` --- # Get a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id Returns a single variant group by ID `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}` **Deprecated.** **Responses** - `200` — Variant group - `400` — Invalid group ID - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # List all app variant groups Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/get-api-v1-team-slug-app-slug-variant-groups List all variant groups for app with pagination and optional filters on products, tags, and attributes `GET /api/v1/{team_slug}/{app_slug}/variant-groups` **Deprecated.** **Responses** - `200` — Variant groups with product information - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "product_name": "string", "product_number": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Set variant group channel status Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-channels-channel-id-variant-groups-variant-group-id-status Sets a variant group's publishing status on a channel. Requires an existing channel membership row for the variant group. Allowed status values are `active`, `inactive`, and `incomplete`. `PATCH /api/v1/{team_slug}/{app_slug}/channels/{channel_id}/variant-groups/{variant_group_id}/status` **Deprecated.** **Request body** (`application/json`, required) Channel status payload - `status` (string, required) Request body example: ```json { "status": "active" } ``` **Responses** - `200` — Updated variant group channel status - `400` — Invalid request - `404` — Channel or variant group not found - `422` — Status validation failed - `500` — Internal server error Response example, 200: ```json { "data": { "channel_id": "string", "status": "string", "variant_group_id": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id Updates a variant group. Attribute IDs replace the existing set when provided. `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}` **Deprecated.** **Request body** (`application/json`, required) Fields to update - `attribute_ids` (string[]) - `description` (string) - `name` (string) - `priority` (integer) - `slug` (string) - `status` (string) Request body example: ```json { "attribute_ids": [ "string" ], "description": "string", "name": "string", "priority": 0, "slug": "string", "status": "active" } ``` **Responses** - `200` — Updated variant group - `400` — Invalid request - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Reorder variant group images Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/patch-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-images-reorder Reorders images for a variant group by assigning priorities based on array position `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/images/reorder` **Deprecated.** **Request body** (`application/json`, required) Ordered image IDs - `image_ids` (string[], required) Request body example: ```json { "image_ids": [ "string" ] } ``` **Responses** - `200` — Updated variant group - `400` — Invalid request - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Create a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/post-api-v1-team-slug-app-slug-products-product-id-variant-groups Creates a variant group for a product. Attributes are optional and can be set later. `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups` **Deprecated.** **Request body** (`application/json`, required) Variant group - `attribute_ids` (string[]) - `description` (string) - `name` (string, required) - `priority` (integer) — Will be set to the highest priority for the product if not provided - `slug` (string, required) - `status` (string) Request body example: ```json { "attribute_ids": [ "string" ], "description": "string", "name": "string", "priority": 0, "slug": "string", "status": "active" } ``` **Responses** - `201` — Variant group created - `400` — Invalid request or mismatched attributes - `401` — Unauthorized access - `404` — Attribute not found - `500` — Internal server error Response example, 201: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk Add Variant Groups to Tags Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/post-api-v1-team-slug-app-slug-variant-groups-tags-bulk Associates multiple variant groups with multiple tags in a single request. Creates variant group-tag relationships. `POST /api/v1/{team_slug}/{app_slug}/variant-groups/tags/bulk` **Deprecated.** **Request body** (`application/json`, required) Variant group and tag relationships to create (max 50) - `items` (internal_pkg_webserver_v1.BulkVariantGroupTagRelationshipItem[], required) Request body example: ```json { "items": [ { "tag_id": "string", "variant_group_ids": [ "string" ] } ] } ``` **Responses** - `200` — Variant groups added to tags successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_adds": [ { "reason": "string", "tag_id": "string", "variant_group_id": "string" } ], "successful_adds": [ { "tag_id": "string", "variant_group_ids": [ "string" ] } ] }, "details": [ "string" ], "success": true } ``` --- # Set variant group images Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-images Replaces all images for a variant group `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/images` **Deprecated.** **Request body** (`application/json`, required) Images to set - `images` (internal_pkg_webserver_v1.VariantGroupImageInput[]) Request body example: ```json { "images": [ { "image_id": "string", "priority": 0 } ] } ``` **Responses** - `200` — Updated variant group - `400` — Invalid request - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Add a tag to a variant group Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-tags-tag-key Creates a relationship between a variant group and a tag identified by tag key. Returns the updated variant group with all related data. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/tags/{tag_key}` **Deprecated.** **Request body** (`application/json`, required) Payload - `order` (integer) Request body example: ```json { "order": 0 } ``` **Responses** - `200` — Updated variant group - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Set variant group videos Source: https://docs.enad.io/management/management-api/v1/reference/variant-groups/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-group-id-videos Replaces all videos for a variant group `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/{group_id}/videos` **Deprecated.** **Request body** (`application/json`, required) Videos to set - `video_ids` (string[]) Request body example: ```json { "video_ids": [ "string" ] } ``` **Responses** - `200` — Updated variant group - `400` — Invalid request - `401` — Unauthorized access - `404` — Variant group not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "attribute_id": "string", "attribute_key": "string", "attribute_name": "string", "template_key": "string", "template_name": "string" } ], "channel_statuses": [ { "channel_id": "string", "channel_slug": "string", "status": "string" } ], "created_at": "string", "description": "string", "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "name": "string", "priority": 0, "product_id": "string", "slug": "string", "status": "string", "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "order": 0, "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ], "slug": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "variants": [ { "id": "string", "status": "string", "variant_name": "string", "variant_number": "string" } ], "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Delete product variant templates Source: https://docs.enad.io/management/management-api/v1/reference/variant-templates/delete-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates Removes all variant templates from a product `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates` **Deprecated.** **Responses** - `200` — Templates deleted - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "success": true } ``` --- # Get product variant templates Source: https://docs.enad.io/management/management-api/v1/reference/variant-templates/get-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates Returns the variant templates for a product `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates` **Responses** - `200` — Variant templates - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attribute_template_id": "string", "created_at": "string", "id": "string", "template_key": "string", "template_name": "string", "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Set product variant templates Source: https://docs.enad.io/management/management-api/v1/reference/variant-templates/put-api-v1-team-slug-app-slug-products-product-id-variant-groups-templates Replaces the variant templates for a product `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variant-groups/templates` **Deprecated.** **Request body** (`application/json`, required) Attribute template keys - `attribute_template_keys` (string[], required) Request body example: ```json { "attribute_template_keys": [ "string" ] } ``` **Responses** - `200` — Updated variant templates - `400` — Invalid request - `401` — Unauthorized access - `404` — Attribute template not found - `500` — Internal server error Response example, 200: ```json { "data": [ { "attribute_template_id": "string", "created_at": "string", "id": "string", "template_key": "string", "template_name": "string", "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Delete product variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id Deletes a product variant and its associated warehouse stock records `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}` **Deprecated.** **Responses** - `200` — Variant deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete variant price Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-store-group-slug-market-slug Deletes a specific price for a product variant based on store group and market. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices/{store_group_slug}/{market_slug}` **Deprecated.** **Responses** - `200` — Confirmation message with validation details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete variant warehouse stock Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock-warehouse-slug Removes the stock record for a variant in a specific warehouse. The warehouse itself is not deleted, only the stock association. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock/{warehouse_slug}` **Deprecated.** **Responses** - `200` — Warehouse stock deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove tag from variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-tags-tag-key Removes the association between a tag and a product variant. Returns the updated variant without the tag. `DELETE /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Updated variant without tag association - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk delete product variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-bulk Deletes multiple product variants in a single batch operation. Removes variants and their associated data. Supports up to 50 variants per batch. Returns arrays of successfully deleted variant IDs and failed deletions. `DELETE /api/v1/{team_slug}/{app_slug}/variants/bulk` **Deprecated.** **Request body** (`application/json`, required) Variant IDs to delete - `variant_ids` (string[], required) Request body example: ```json { "variant_ids": [ "string" ] } ``` **Responses** - `200` — Variants deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Bulk delete variant prices Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-prices-bulk Deletes multiple variant prices in bulk by their IDs. Accepts up to 100 price IDs to remove from the system. Returns lists of successfully deleted and failed deletion attempts. `DELETE /api/v1/{team_slug}/{app_slug}/variants/prices/bulk` **Deprecated.** **Request body** (`application/json`, required) Price IDs to delete - `price_ids` (string[], required) Request body example: ```json { "price_ids": [ "string" ] } ``` **Responses** - `200` — Prices deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete Stock for Multiple Variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/delete-api-v1-team-slug-app-slug-variants-stock-bulk Removes stock records for multiple product variants from specific warehouses in a single bulk operation. Permanently deletes the stock entries and sets quantities to zero. Returns lists of successful and failed deletions with failure reasons. `DELETE /api/v1/{team_slug}/{app_slug}/variants/stock/bulk` **Deprecated.** **Request body** (`application/json`, required) Stock data to delete - `items` (internal_pkg_webserver_v1.BulkDeleteStockItem[], required) Request body example: ```json { "items": [ { "variant_id": "string", "warehouse_slug": "string" } ] } ``` **Responses** - `200` — Stock deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "reason": "string", "variant_id": "string", "warehouse_slug": "string" } ], "successful": [ { "variant_id": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # List product variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants Retrieves all variants for a specific product with optional filtering by attributes, warehouse, store group, market, tags, categories, and status. Supports pagination and sorting. `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants` **Deprecated.** **Responses** - `200` — Product variants - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get product variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id Retrieves a single product variant by ID with full details including stock, prices, attributes, and images `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}` **Deprecated.** **Responses** - `200` — Product variants - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # List variant prices by store group Source: https://docs.enad.io/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices Retrieves all prices for a product variant grouped by store groups and their associated markets. `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices` **Deprecated.** **Responses** - `200` — List of store groups with their associated prices and markets - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get variant prices for store group Source: https://docs.enad.io/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-store-group-slug Retrieves all prices for a product variant within a specific store group across all its markets. `GET /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices/{store_group_slug}` **Deprecated.** **Responses** - `200` — Store group with all its prices and associated markets - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all app variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/get-api-v1-team-slug-app-slug-variants Retrieves all variants for an app with optional filtering by product, category, collection, status, attributes, and more. Supports pagination and sorting. `GET /api/v1/{team_slug}/{app_slug}/variants` **Deprecated.** **Responses** - `200` — List of variants - `400` — Invalid request (e.g., bad query parameter) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "product_name": "string", "product_number": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Update product variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-products-product-id-variants-variant-id Updates an existing product variant's name, status, stock validation, purchase price, dimensions, or custom fields `PATCH /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}` **Deprecated.** **Request body** (`application/json`, required) Variant data - `custom_fields` (object) — Custom fields - null or empty string removes the field, other values merge with existing - `purchase_price` (github_com_enadhq_nabbit_internal_pkg_webserver_models.PurchasePrice) - `status` (string) — Status of the product - `stock` (internal_pkg_webserver_v1.InputVariantStock[]) — Stock level of the variant - `validate_stock` (boolean) - `variant_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) - `variant_group_id` (string) - `variant_name` (string) — Name of the variant Request body example: ```json { "custom_fields": { "property1": "string", "property2": "string" }, "purchase_price": { "currency": "string", "value_cents": 0 }, "status": "active", "stock": [ { "inventory_date": "string", "quantity": 0, "warehouse_slug": "string" } ], "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string" } ``` **Responses** - `200` — Variant updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk update product variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-variants-bulk Updates multiple product variants in a single batch operation. Supports partial updates to variant properties including name, status, stock levels, dimensions, and custom fields. Processes up to 50 variants per batch. Returns arrays of successful and failed updates. `PATCH /api/v1/{team_slug}/{app_slug}/variants/bulk` **Deprecated.** **Request body** (`application/json`, required) Variants data to update - `variants` (internal_pkg_webserver_v1.BulkPatchVariantItem[], required) Request body example: ```json { "variants": [ { "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "status": "active", "stock": [ { "inventory_date": "string", "quantity": 0, "warehouse_slug": "string" } ], "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string" } ] } ``` **Responses** - `200` — Variants updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk update variant prices Source: https://docs.enad.io/management/management-api/v1/reference/variants/patch-api-v1-team-slug-app-slug-variants-prices-bulk Updates existing variant prices in bulk with partial data. Accepts up to 50 price items to update specific fields such as amount, sale price, reference price, status, and sale date ranges. Only provided fields will be updated. `PATCH /api/v1/{team_slug}/{app_slug}/variants/prices/bulk` **Deprecated.** **Request body** (`application/json`, required) Prices data - `prices` (internal_pkg_webserver_v1.BulkPatchPriceItem[], required) Request body example: ```json { "prices": [ { "amount_cents_with_tax": 0, "id": "string", "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active" } ] } ``` **Responses** - `200` — Prices updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Create product variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-products-product-id-variants Creates a new variant for a product with the specified name, number, stock levels, and status `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants` **Deprecated.** **Request body** (`application/json`, required) Variant data - `custom_fields` (object) - `purchase_price` (github_com_enadhq_nabbit_internal_pkg_webserver_models.PurchasePrice) - `status` (string) — Status of the product - `stock` (internal_pkg_webserver_v1.InputVariantStock[]) — Stock level of the variant - `validate_stock` (boolean) - `variant_dimensions` (github_com_enadhq_nabbit_internal_pkg_webserver_models.Dimensions) - `variant_group_id` (string) - `variant_name` (string, required) — VariantName of the variant - `variant_number` (string, required) — Number of the variant Request body example: ```json { "custom_fields": { "property1": "string", "property2": "string" }, "purchase_price": { "currency": "string", "value_cents": 0 }, "status": "active", "stock": [ { "inventory_date": "string", "quantity": 0, "warehouse_slug": "string" } ], "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string" } ``` **Responses** - `200` — Variant created successfully - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Adjust variant stock by delta Source: https://docs.enad.io/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock-warehouse-slug-diff Adjusts the stock quantity for a variant in a specific warehouse by adding or subtracting the provided delta value `POST /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock/{warehouse_slug}/diff` **Deprecated.** **Request body** (`application/json`, required) Variant stock diff data - `delta` (integer) Request body example: ```json { "delta": 0 } ``` **Responses** - `200` — Warehouse stock for variant updated successfully - `400` — Invalid request (e.g. bad UUID, validation error or stock can't be negative) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" }, "details": [ "string" ], "success": true } ``` --- # Bulk create product variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/post-api-v1-team-slug-app-slug-variants-bulk Creates multiple product variants in a single batch operation. Each variant can be associated with different products and includes stock levels, dimensions, and custom fields. Supports up to 50 variants per batch. Returns arrays of successful and failed creations. `POST /api/v1/{team_slug}/{app_slug}/variants/bulk` **Deprecated.** **Request body** (`application/json`, required) Variants data to create - `variants` (internal_pkg_webserver_v1.BulkCreateVariantItem[], required) Request body example: ```json { "variants": [ { "custom_fields": { "property1": "string", "property2": "string" }, "product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "status": "active", "stock": [ { "inventory_date": "string", "quantity": 0, "warehouse_slug": "string" } ], "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string" } ] } ``` **Responses** - `201` — Variants created successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 201: ```json { "data": { "failed": [ { "reason": "string", "variant_number": "string" } ], "successful": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] } ] }, "details": [ "string" ], "success": true } ``` --- # Create or update variant price Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices Creates a new price or updates an existing price for a product variant in a specific market and store group. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices` **Deprecated.** **Request body** (`application/json`, required) Price data including market, store group, and pricing details - `amount_cents_with_tax` (integer) - `dont_update_price_if_on_sale` (boolean) — Used to prevent overwriting price if on\_sale. - `market_slug` (string, required) - `on_sale` (boolean) - `reference_price_with_tax` (integer) - `sale_end_timestamp` (string) - `sale_price_with_tax` (integer) - `sale_start_timestamp` (string) - `status` (github_com_enadhq_nabbit_internal_pkg_webserver_models.PriceStatus, required) - `store_group_slug` (string, required) Request body example: ```json { "amount_cents_with_tax": 0, "dont_update_price_if_on_sale": true, "market_slug": "string", "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group_slug": "string" } ``` **Responses** - `200` — Created or updated price with store group and market details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Batch create or update variant prices Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-prices-batch Creates or updates multiple prices for a product variant across different markets within a store group in a single request. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices-batch` **Deprecated.** **Request body** (`application/json`, required) Batch price data with store group and array of market prices - `dont_update_price_if_on_sale` (boolean) — Used to prevent overwriting price if on\_sale. - `prices` (internal_pkg_webserver_v1.BatchPrice[], required) - `store_group_slug` (string, required) Request body example: ```json { "dont_update_price_if_on_sale": true, "prices": [ { "amount_cents_with_tax": 0, "market_slug": "string", "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active" } ], "store_group_slug": "string" } ``` **Responses** - `200` — List of created or updated prices with store group and market details - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "updated_at": "string" } ], "details": [ "string" ], "success": true } ``` --- # Upsert shipping attributes for a variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-shipping-attributes Completely replaces the shipping attributes for a product variant. The request should contain the complete list of attributes to set. Attributes not included in the request will be removed. Example attributes: bulky, fragile, hazardous. An empty array removes all shipping attributes from the variant. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/shipping-attributes` **Deprecated.** **Request body** (`application/json`, required) List of shipping attributes to set - `attributes` (string[], required) — max 10 attributes, each max 40 characters Request body example: ```json { "attributes": [ "string" ] } ``` **Responses** - `200` — Successfully updated shipping attributes - `400` — Invalid request format or validation error - `422` — Unable to process request - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Set variant warehouse stock Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-stock Creates or updates the stock quantity for a variant in a specific warehouse. If the stock record exists, it will be updated; otherwise, a new record will be created. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock` **Deprecated.** **Request body** (`application/json`, required) Variant stock data - `inventory_date` (string) — ISO 8601 date format with time zone e.g. 2024-12-12T09:13:31.039Z. - `quantity` (integer) - `warehouse_slug` (string, required) Request body example: ```json { "inventory_date": "string", "quantity": 0, "warehouse_slug": "string" } ``` **Responses** - `200` — Warehouse stock for variant created or updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" }, "details": [ "string" ], "success": true } ``` --- # Associate tag with variant Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-products-product-id-variants-variant-id-tags-tag-key Creates an association between a tag and a product variant. Returns the updated variant with the new tag association. `PUT /api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/tags/{tag_key}` **Deprecated.** **Responses** - `200` — Updated variant with new tag association - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "custom_fields": { "property1": "string", "property2": "string" }, "id": "string", "images": [ { "alt": "string", "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "first_feeds": true, "first_integrations": true, "first_storefront": true, "folder_id": "string", "id": "string", "parent_id": "string", "priority": 0, "public": true, "status": "string", "title": "string", "translations": { "alt": [ { "id": "string", "locale": "string", "value": "string" } ], "copyright": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "url": "string" } ], "listings": { "smart": [ { "id": "string", "slug": "string" } ], "static": [ { "id": "string", "slug": "string" } ] }, "parent_product_id": "string", "purchase_price": { "currency": "string", "value_cents": 0 }, "shipping_attributes": [ "string" ], "status": "string", "store_group": [ { "created_at": "string", "id": "string", "name": "string", "prices": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "updated_at": "string" } ], "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "created_at": "string", "filterable": true, "id": "string", "key": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "schedules": [ { "add_category_names": [ "string" ], "add_collection_names": [ "string" ], "add_tag_names": [ "string" ], "execute_at": "string", "finished_at": "string", "group_id": "string", "id": "string", "item_id": "string", "item_name": "string", "item_type": "string", "remove_category_names": [ "string" ], "remove_collection_names": [ "string" ], "remove_tag_names": [ "string" ], "to_amount_cents_with_tax": 0, "to_market_id": "string", "to_market_status": "string", "to_on_sale": true, "to_sale_amount_cents_with_tax": 0, "to_start_sale_timestamp": "string", "to_status": "string", "to_stop_sale_timestamp": "string", "to_store_group_id": "string" } ], "status": "string", "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string" } ], "translations": { "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "validate_stock": true, "variant_dimensions": { "capacity_milliliter": 0, "depth": 0, "diameter": 0, "height": 0, "length": 0, "weight": 0, "width": 0 }, "variant_group_id": "string", "variant_name": "string", "variant_number": "string", "videos": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "warehouse_variant_stock": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk create or update variant prices Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-variants-prices-bulk Creates new prices or updates existing prices for product variants in bulk. Accepts up to 50 price items with variant, store group, and market information. Each price item can include regular price, sale price, reference price, status, and sale date ranges. `PUT /api/v1/{team_slug}/{app_slug}/variants/prices/bulk` **Deprecated.** **Request body** (`application/json`, required) Prices data - `dont_update_price_if_on_sale` (boolean) — Used to prevent overwriting price if on\_sale. - `prices` (internal_pkg_webserver_v1.BulkPutPriceItem[], required) Request body example: ```json { "dont_update_price_if_on_sale": true, "prices": [ { "amount_cents_with_tax": 0, "market_slug": "string", "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group_slug": "string", "variant_id": "string" } ] } ``` **Responses** - `200` — Prices created or updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "market_slug": "string", "reason": "string", "store_group_slug": "string", "variant_id": "string" } ], "successful": [ { "amount_cents_with_tax": 0, "created_at": "string", "id": "string", "market": { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" }, "on_sale": true, "reference_price_with_tax": 0, "sale_end_timestamp": "string", "sale_price_with_tax": 0, "sale_start_timestamp": "string", "status": "active", "store_group": { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" }, "updated_at": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Set Stock for Multiple Variants Source: https://docs.enad.io/management/management-api/v1/reference/variants/put-api-v1-team-slug-app-slug-variants-stock-bulk Updates or creates stock quantities for multiple product variants across different warehouses in a single bulk operation. Each item in the request specifies a variant ID, warehouse slug, and the new stock quantity with an optional inventory date. Returns lists of successful and failed operations. `PUT /api/v1/{team_slug}/{app_slug}/variants/stock/bulk` **Deprecated.** **Request body** (`application/json`, required) Stock data to set - `items` (internal_pkg_webserver_v1.BulkSetStockItem[], required) Request body example: ```json { "items": [ { "inventory_date": "string", "quantity": 0, "variant_id": "string", "warehouse_slug": "string" } ] } ``` **Responses** - `200` — Stock set successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed_sets": [ { "reason": "string", "variant_id": "string", "warehouse_slug": "string" } ], "successful_sets": [ { "available_online": true, "created_at": "string", "id": "string", "inventory_date": "string", "quantity": 0, "updated_at": "string", "warehouse_name": "string", "warehouse_slug": "string" } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk delete videos Source: https://docs.enad.io/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-bulk Deletes up to 100 videos in a single request. Returns lists of successful and failed deletions with reasons for failures. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/videos instead. `DELETE /api/v1/{team_slug}/{app_slug}/videos/bulk` **Deprecated.** **Request body** (`application/json`, required) Video IDs to delete - `video_ids` (string[], required) Request body example: ```json { "video_ids": [ "string" ] } ``` **Responses** - `200` — Videos deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Delete video Source: https://docs.enad.io/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-video-id Permanently deletes a video from the database and R2 storage. Also removes all associated translations and relationships. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/videos instead. `DELETE /api/v1/{team_slug}/{app_slug}/videos/{video_id}` **Deprecated.** **Responses** - `200` — Video deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete video-to-item relationship Source: https://docs.enad.io/management/management-api/v1/reference/videos/delete-api-v1-team-slug-app-slug-videos-video-id-relationship Removes the association between a video and a product or variant. Validates publishing rules after removal. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/videos/items instead. `DELETE /api/v1/{team_slug}/{app_slug}/videos/{video_id}/relationship` **Deprecated.** **Request body** (`application/json`, required) Video relationship data - `item_id` (string, required) Request body example: ```json { "item_id": "string" } ``` **Responses** - `200` — Video deleted successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # List videos Source: https://docs.enad.io/management/management-api/v1/reference/videos/get-api-v1-team-slug-app-slug-videos Retrieves all videos for an app with pagination support. Supports sorting by created_at, updated_at, or title in ascending or descending order. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/videos instead. `GET /api/v1/{team_slug}/{app_slug}/videos` **Deprecated.** **Responses** - `200` — List of app videos - `401` — Unauthorized access Response example, 200: ```json { "data": [ { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get video by ID Source: https://docs.enad.io/management/management-api/v1/reference/videos/get-api-v1-team-slug-app-slug-videos-video-id Retrieves a single video with its variants, translations, attributes, and information about products/variants using this video. Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/videos/{video_id} instead. `GET /api/v1/{team_slug}/{app_slug}/videos/{video_id}` **Deprecated.** **Responses** - `200` — Got video - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "used_by": [ { "created_at": "string", "id": "string", "name": "string", "priority": 0, "slug": "string", "type": "product", "updated_at": "string" } ], "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] }, "details": [ "string" ], "success": true } ``` --- # Bulk update videos Source: https://docs.enad.io/management/management-api/v1/reference/videos/patch-api-v1-team-slug-app-slug-videos-bulk Updates up to 20 videos in a single request. Each item includes a video id and its own patch fields. Returns arrays of successfully updated video ids and failed updates. Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/videos instead. `PATCH /api/v1/{team_slug}/{app_slug}/videos/bulk` **Deprecated.** **Request body** (`application/json`, required) Video patch items - `videos` (internal_pkg_webserver_v1.BulkPatchVideoItem[], required) Request body example: ```json { "videos": [ { "description": "string", "id": "string", "public": true, "status": "active", "title": "string", "translations": { "description": [ { "locale": "string", "value": "string" } ], "title": [ { "locale": "string", "value": "string" } ] } } ] } ``` **Responses** - `200` — Videos updated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "failed": [ { "id": "string", "reason": "string" } ], "successful": [ "string" ] }, "details": [ "string" ], "success": true } ``` --- # Update video Source: https://docs.enad.io/management/management-api/v1/reference/videos/patch-api-v1-team-slug-app-slug-videos-video-id Updates video title, description, status, translations, and visibility. The status can only be changed to active or inactive, and only when the current status is active or inactive, not while the video is still uploading (pending). Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/videos instead. `PATCH /api/v1/{team_slug}/{app_slug}/videos/{video_id}` **Deprecated.** **Request body** (`application/json`, required) Video data - `description` (string) - `public` (boolean) - `status` (string) - `title` (string) - `translations` (internal_pkg_webserver_v1.UpdateVideoTranslations) Request body example: ```json { "description": "string", "public": true, "status": "active", "title": "string", "translations": { "description": [ { "locale": "string", "value": "string" } ], "title": [ { "locale": "string", "value": "string" } ] } } ``` **Responses** - `200` — Video updated successfully - `400` — Invalid request - `401` — Unauthorized access - `404` — Video not found - `500` — Internal server error Response example, 200: ```json { "data": { "attributes": [ { "created_at": "string", "description": "string", "filterable": true, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": true, "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "name": [ { "id": "string", "locale": "string", "value": "string" } ] }, "updated_at": "string", "values": { "property1": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" }, "property2": { "field_id": "string", "id": "string", "image_id": "string", "image_object": { "alt": "string", "app_id": "string", "blurhash": "string", "copyright": "string", "custom": { "property1": "string", "property2": "string" }, "folder_id": "string", "id": "string", "parent_id": "string", "public": true, "status": "string", "title": "string", "url": "string" }, "translations": { "value": [ { "id": "string", "locale": "string", "value": "string" } ] }, "type": "string", "value": "string" } } } ], "description": "string", "folder_id": "string", "id": "string", "path": "string", "public": true, "status": "string", "title": "string", "translations": { "description": [ { "id": "string", "locale": "string", "value": "string" } ], "title": [ { "id": "string", "locale": "string", "value": "string" } ] }, "variants": [ { "format": "string", "height": 0, "url": "string", "width": 0 } ] }, "details": [ "string" ], "success": true } ``` --- # Generate video upload URL Source: https://docs.enad.io/management/management-api/v1/reference/videos/put-api-v1-team-slug-app-slug-videos Creates a new video record and returns a presigned URL for uploading the video file to R2 storage. The URL expires after 20 minutes. Deprecated: use POST /api/v2/{team_slug}/{app_slug}/dam/videos instead. `PUT /api/v1/{team_slug}/{app_slug}/videos` **Deprecated.** **Request body** (`application/json`, required) Video payload - `content_type` (string, required) - `description` (string) - `filename` (string, required) - `size_bytes` (integer, required) - `title` (string, required) - `video_variants` (internal_pkg_webserver_v1.VideoVariant[]) Request body example: ```json { "content_type": "string", "description": "string", "filename": "string", "size_bytes": 0, "title": "string", "video_variants": [ { "format": "string", "height": 0, "width": 0 } ] } ``` **Responses** - `200` — Presigned URL generated successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "constraints": { "allowed_types": [ "string" ], "max_size_bytes": 0 }, "expires_at": 0, "id": "string", "path": "string", "upload_url": "string" }, "details": [ "string" ], "success": true } ``` --- # Create video-to-item relationship Source: https://docs.enad.io/management/management-api/v1/reference/videos/put-api-v1-team-slug-app-slug-videos-video-id-relationship Associates a video with a product or variant. Validates publishing rules and triggers relationship events. Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/videos/items instead. `PUT /api/v1/{team_slug}/{app_slug}/videos/{video_id}/relationship` **Deprecated.** **Request body** (`application/json`, required) Video relationship data - `item_id` (string, required) - `item_type` (string, required) Request body example: ```json { "item_id": "string", "item_type": "product" } ``` **Responses** - `200` — Video relationship added successfully - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Delete a warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/delete-api-v1-team-slug-app-slug-warehouses-warehouse-slug Permanently deletes a warehouse and its associations. This action cannot be undone and will remove all market relationships. `DELETE /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}` **Deprecated.** **Responses** - `200` — Warehouse deleted - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": "string", "details": [ "string" ], "success": true } ``` --- # Remove a market from a warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/delete-api-v1-team-slug-app-slug-warehouses-warehouse-slug-market-market-slug Removes the association between a specific market and warehouse. The market itself is not deleted, only its relationship to the warehouse. `DELETE /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}/market/{market_slug}` **Deprecated.** **Responses** - `200` — Updated warehouse data - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # List all warehouses Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/get-api-v1-team-slug-app-slug-warehouses Retrieves all warehouses associated with the specified application, including their addresses and linked markets. `GET /api/v1/{team_slug}/{app_slug}/warehouses` **Deprecated.** **Responses** - `200` — Warehouse data list - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": [ { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" } ], "success": true, "total": 0, "total_pages": 0 } ``` --- # Get a warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/get-api-v1-team-slug-app-slug-warehouses-warehouse-slug Retrieves detailed information about a specific warehouse, including its address and linked markets. `GET /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}` **Deprecated.** **Responses** - `200` — Warehouse data - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Update a warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/patch-api-v1-team-slug-app-slug-warehouses-warehouse-slug Updates an existing warehouse's name, slug, address, online availability status, and market associations. Only provided fields will be updated. `PATCH /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}` **Deprecated.** **Request body** (`application/json`, required) Warehouse data - `address` (internal_pkg_webserver_v1.InputWarehouseAddress, required) - `available_online` (boolean) - `markets` (string[]) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "available_online": true, "markets": [ "string" ], "name": "string", "slug": "string" } ``` **Responses** - `200` — Warehouse updated successfully - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Create a new warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/post-api-v1-team-slug-app-slug-warehouses Creates a new warehouse with the specified name, slug, address, and optional market associations. The warehouse can be marked as available online and linked to one or more markets. `POST /api/v1/{team_slug}/{app_slug}/warehouses` **Deprecated.** **Request body** (`application/json`, required) Warehouse data - `address` (internal_pkg_webserver_v1.InputWarehouseAddress, required) - `available_online` (boolean) - `markets` (string[]) - `name` (string, required) - `slug` (string, required) Request body example: ```json { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "available_online": true, "markets": [ "string" ], "name": "string", "slug": "string" } ``` **Responses** - `200` — Warehouse created successfully - `201` — Successful response - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # Add a market to a warehouse Source: https://docs.enad.io/management/management-api/v1/reference/warehouses/put-api-v1-team-slug-app-slug-warehouses-warehouse-slug-market-market-slug Creates an association between a specific market and warehouse, allowing the warehouse to serve that market's customers. `PUT /api/v1/{team_slug}/{app_slug}/warehouses/{warehouse_slug}/market/{market_slug}` **Deprecated.** **Responses** - `200` — Updated warehouse data - `400` — Invalid request (e.g. bad UUID, validation error) - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "data": { "address": { "city": "string", "country": "string", "postal_code": "string", "state": "string", "street_address": "string" }, "app_id": "string", "available_online": true, "created_at": "string", "id": "string", "markets": [ { "active": true, "country_codes": [ "string" ], "created_at": "string", "currency_code": "string", "id": "string", "locale": "string", "name": "string", "slug": "string", "updated_at": "string" } ], "name": "string", "slug": "string", "updated_at": "string" }, "details": [ "string" ], "success": true } ``` --- # ENAD MCP Server Installation Guide Source: https://docs.enad.io/mcp/mcp The ENAD MCP (Model Context Protocol) server makes ENAD's documentation and API available in your development environment. This page covers the setup for Claude Code, Cursor, and VS Code. ## Prerequisites None. The ENAD MCP server is publicly accessible. ## Configuration ### Claude Code 1. Create or edit your Claude Code configuration file at `~/.claude/claude_desktop_config.json`: ```json { "mcpServers": { "enad-docs": { "type": "http", "url": "https://docs.enad.io/mcp" } } } ``` 2. Restart Claude Code to load the new MCP server configuration. 3. Open Claude Code. The ENAD MCP server should appear in your available tools, and you can search ENAD documentation and access API references directly. ### Cursor 1. Open Cursor and navigate to Settings → Extensions → MCP Servers, or edit your MCP configuration file: ```json { "mcpServers": { "enad-docs": { "type": "http", "url": "https://docs.enad.io/mcp" } } } ``` 2. Restart Cursor to apply the configuration. 3. Open the command palette (Cmd/Ctrl + Shift + P) and search for "ENAD" to see the available MCP functions. The server provides documentation search and API reference tools. ### VS Code 1. Install the MCP extension: - Open VS Code - Go to Extensions (Ctrl+Shift+X) - Search for "MCP" and install the MCP extension - Or install via command line: `code --install-extension anthropic.mcp` 2. Open VS Code settings (Ctrl+,) and search for "MCP". Add the ENAD server configuration: ```json { "mcp.servers": { "enad-docs": { "type": "http", "url": "https://docs.enad.io/mcp" } } } ``` 3. Restart VS Code to load the MCP server. 4. Open the command palette (Ctrl+Shift+P) and search "ENAD MCP" to see the available commands: documentation search and API exploration tools. --- # Merchant users Source: https://docs.enad.io/merchant-users/merchant-users Merchant users are the merchant's customers in Enad, including shoppers and B2B contacts. They are distinct from Enad Admin users. This page will be expanded. ## In Enad Admin The **Merchant users** area covers: - Merchant user records - Organisations - Customer groups - Custom roles A merchant user typically has an email address and a phone number, plus a market, store group, language, status, and address. Merchant users can belong to organisations and can carry [attributes](/catalog/attributes). External systems can store identifiers on the merchant user, such as Voyado, Klaviyo, or Shopify IDs. ## Matching in integrations Shopify, Klaviyo, and Voyado include a **User lookup strategy**. It controls whether Enad matches a merchant user by email, phone number, or both when syncing with that integration. Email and phone data should stay consistent in Enad and the connected system. Matching on both gives Enad two ways to find the same merchant user. ## Related - [Customers API](/storefront) - [User events](/integrations/events/users) - [Shopify](/integrations/shopify) - [Klaviyo](/integrations/klaviyo) - [Voyado](/integrations/voyado) --- # Storefront Source: https://docs.enad.io/storefront Everything a headless storefront needs: typed SDK clients, a GraphQL API for product discovery, a Customers API for accounts and orders, and a CDN for media delivery. **[Enad TypeScript SDK](/storefront/enad-ts-sdk)** A typed GraphQL client for product search, plus a client for the Customers API. **[Product Search API (GraphQL)](/storefront/graphql)** Search, facets, and product queries over GraphQL at `https://graphql.enad.io`. Request data by `app_id` and store group. **[Customers API](/storefront/customers-api)** Customer accounts, orders, and wishlists at `https://customers.enad.io`. Server-to-server calls use an `api-key` header; client calls use the JWT issued at login. **[Media CDN](/storefront/media)** Serve and transform images and video for any market, store group, or locale. **[Storefront revalidate](/storefront/revalidate/revalidate)** Push catalog changes to your frontend for ISR, CDN purges, and cache rebuilds. --- # Customers API Source: https://docs.enad.io/storefront/customers-api The Customers API powers the customer side of a storefront at `https://customers.enad.io`: signup, login, email verification, password reset, JWT sessions, profiles, orders, carts, wishlists, and organisation (B2B) accounts. **[API reference](/storefront/customers-api/reference)** Every endpoint in the Customers API, generated from the OpenAPI spec, with a Try-it panel and code samples. Browse endpoints **[Enad TypeScript SDK](/storefront/enad-ts-sdk)** A typed client for the Customers API, so you don't hand-write requests. Use the typed client ## When to use it It powers the "my account" pages of a storefront. A customer signs up or logs in through the storefront, receives an access and refresh token, and then reads and updates their own profile, orders, carts, and wishlists with that session. It is not for catalog management: products are managed through the [Management API](/management/management-api) and read by shoppers over the [Product Search API](/storefront/graphql). ## Authentication Two schemes, used together on carts, wishlists, and customer-group prices: - **App API key** — server-to-server requests such as login, signup, order lookups, organisation creation, and file uploads send the app's key in the `api-key` header. - **Customer JWT** — requests on behalf of a logged-in customer send the token issued at login as `Authorization: Bearer `; access tokens are short-lived (one hour by default) and renewed with the refresh token. All routes are prefixed with `/api/v1/{app_id}/`, where `{app_id}` is your application identifier. --- # Customers API Source: https://docs.enad.io/storefront/customers-api/reference Customer accounts and auth for ENAD storefronts: signup, login, email verification, password reset, JWT sessions, profiles, orders, carts, wishlists, and organisation (B2B) accounts, at `https://customers.enad.io`. ## When to use it It powers the "my account" pages of a storefront. A customer signs up or logs in through the storefront, receives an access and refresh token, and then reads and updates their own profile, orders, carts, and wishlists with that session. It is not for catalog management: products are managed through the Management API (https://docs.enad.io/management/management-api) and read by shoppers over the Product Search API (https://docs.enad.io/storefront/graphql). ## Authentication Two schemes, used together on carts, wishlists, and customer-group prices: - **App API key** — server-to-server requests such as login, signup, order lookups, organisation creation, and file uploads send the app's key in the `api-key` header. - **Customer JWT** — requests on behalf of a logged-in customer send the token issued at login as `Authorization: Bearer `; access tokens are short-lived (one hour by default) and renewed with the refresh token. All routes are prefixed with `/api/v1/{app_id}/`. Version 1.0 Base URL: `//customers.enad.io` ## Auth - [`POST /api/v1/{app_id}/auth/change-password`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-change-password) — Change password. - [`POST /api/v1/{app_id}/auth/login`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-login) — Login user. - [`POST /api/v1/{app_id}/auth/refresh`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-refresh) — Refresh token. - [`POST /api/v1/{app_id}/auth/reset-password`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-reset-password) — Create password reset link. - [`POST /api/v1/{app_id}/auth/signup`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-signup) — Register new user. - [`POST /api/v1/{app_id}/auth/verify-email`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-verify-email) — Create email verification link. - [`POST /api/v1/{app_id}/auth/verify-email-token`](/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-verify-email-token) — Verify email. ## Users - [`POST /api/v1/{app_id}/lookup/user`](/storefront/customers-api/reference/users/post-api-v1-app-id-lookup-user) — Lookup user by email. - [`DELETE /api/v1/{app_id}/user`](/storefront/customers-api/reference/users/delete-api-v1-app-id-user) — Delete current user. - [`GET /api/v1/{app_id}/user`](/storefront/customers-api/reference/users/get-api-v1-app-id-user) — Gets the user from the token. - [`PATCH /api/v1/{app_id}/user`](/storefront/customers-api/reference/users/patch-api-v1-app-id-user) — Updates the user information. - [`GET /api/v1/{app_id}/users/{user_id}`](/storefront/customers-api/reference/users/get-api-v1-app-id-users-user-id) — Get user by ID. - [`PATCH /api/v1/{app_id}/users/{user_id}`](/storefront/customers-api/reference/users/patch-api-v1-app-id-users-user-id) — Update user by ID. ## Organisations - [`GET /api/v1/{app_id}/lookup/organisations/{organisation-number}`](/storefront/customers-api/reference/organisations/get-api-v1-app-id-lookup-organisations-organisation-number) — Get organisation by organisation number. - [`GET /api/v1/{app_id}/organisations`](/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations) — List organisations. - [`POST /api/v1/{app_id}/organisations`](/storefront/customers-api/reference/organisations/post-api-v1-app-id-organisations) — Register new organisation. - [`DELETE /api/v1/{app_id}/organisations/{id}`](/storefront/customers-api/reference/organisations/delete-api-v1-app-id-organisations-id) — Delete organisation. - [`GET /api/v1/{app_id}/organisations/{id}`](/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id) — Get organisation. - [`PATCH /api/v1/{app_id}/organisations/{id}`](/storefront/customers-api/reference/organisations/patch-api-v1-app-id-organisations-id) — Patch organisation. - [`GET /api/v1/{app_id}/organisations/{id}/tree`](/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id-tree) — Get organisation tree. - [`GET /api/v1/{app_id}/organisations/{id}/users`](/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id-users) — List users for an organisation. - [`POST /api/v1/{app_id}/organisations/{id}/users`](/storefront/customers-api/reference/organisations/post-api-v1-app-id-organisations-id-users) — Add user to organisation. - [`DELETE /api/v1/{app_id}/organisations/{id}/users/{user_id}`](/storefront/customers-api/reference/organisations/delete-api-v1-app-id-organisations-id-users-user-id) — Remove user from organisation. ## Orders - [`GET /api/v1/{app_id}/lookup/orders`](/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders) — List all orders for an app. - [`GET /api/v1/{app_id}/lookup/orders/{id}`](/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders-id) — Get order by ID for an app. - [`GET /api/v1/{app_id}/lookup/orders/reference/{reference}`](/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders-reference-reference) — Get order by reference for an app. - [`GET /api/v1/{app_id}/orders`](/storefront/customers-api/reference/orders/get-api-v1-app-id-orders) — List orders for authenticated user. - [`GET /api/v1/{app_id}/orders/{id}`](/storefront/customers-api/reference/orders/get-api-v1-app-id-orders-id) — Get order by ID for authenticated user. - [`GET /api/v1/{app_id}/orders/reference/{reference}`](/storefront/customers-api/reference/orders/get-api-v1-app-id-orders-reference-reference) — Get order by reference for authenticated user. ## Cart - [`GET /api/v1/{app_id}/carts`](/storefront/customers-api/reference/cart/get-api-v1-app-id-carts) — List saved carts for authenticated user. - [`POST /api/v1/{app_id}/carts`](/storefront/customers-api/reference/cart/post-api-v1-app-id-carts) — Save a new cart reference. - [`DELETE /api/v1/{app_id}/carts/{id}`](/storefront/customers-api/reference/cart/delete-api-v1-app-id-carts-id) — Delete a saved cart. ## Wishlist - [`GET /api/v1/{app_id}/shared/wishlists/{token}`](/storefront/customers-api/reference/wishlist/get-api-v1-app-id-shared-wishlists-token) — Get shared wishlist (paginated). - [`GET /api/v1/{app_id}/wishlists`](/storefront/customers-api/reference/wishlist/get-api-v1-app-id-wishlists) — List wishlists for authenticated user. - [`POST /api/v1/{app_id}/wishlists`](/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists) — Create a new wishlist. - [`DELETE /api/v1/{app_id}/wishlists/{id}`](/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id) — Delete wishlist. - [`GET /api/v1/{app_id}/wishlists/{id}`](/storefront/customers-api/reference/wishlist/get-api-v1-app-id-wishlists-id) — Get a particular wishlist with items. - [`PATCH /api/v1/{app_id}/wishlists/{id}`](/storefront/customers-api/reference/wishlist/patch-api-v1-app-id-wishlists-id) — Update wishlist. - [`DELETE /api/v1/{app_id}/wishlists/{id}/items`](/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id-items) — Remove items from wishlist. - [`POST /api/v1/{app_id}/wishlists/{id}/items`](/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists-id-items) — Add items to wishlist. - [`POST /api/v1/{app_id}/wishlists/{id}/share`](/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists-id-share) — Create or get share token for wishlist. - [`DELETE /api/v1/{app_id}/wishlists/{id}/share/{token}`](/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id-share-token) — Revoke wishlist share token. ## Files - [`DELETE /api/v1/{app_id}/files/{file_id}`](/storefront/customers-api/reference/files/delete-api-v1-app-id-files-file-id) — Delete a file. - [`PATCH /api/v1/{app_id}/files/{file_id}`](/storefront/customers-api/reference/files/patch-api-v1-app-id-files-file-id) — Patch file metadata. - [`POST /api/v1/{app_id}/files/upload`](/storefront/customers-api/reference/files/post-api-v1-app-id-files-upload) — Upload a file. ## Attributes - [`GET /api/v1/{app_id}/attributes`](/storefront/customers-api/reference/attributes/get-api-v1-app-id-attributes) — List attributes for an application. - [`GET /api/v1/{app_id}/attributes/{attribute_id}`](/storefront/customers-api/reference/attributes/get-api-v1-app-id-attributes-attribute-id) — Get a single attribute. - [`DELETE /api/v1/{app_id}/organisations/{organisation_id}/attributes/{attribute_id}`](/storefront/customers-api/reference/attributes/delete-api-v1-app-id-organisations-organisation-id-attributes-attribute-id) — Remove attribute relationship from an organisation. - [`POST /api/v1/{app_id}/organisations/{organisation_id}/attributes/{attribute_id}`](/storefront/customers-api/reference/attributes/post-api-v1-app-id-organisations-organisation-id-attributes-attribute-id) — Add attribute relationship to an organisation. - [`DELETE /api/v1/{app_id}/users/{user_id}/attributes/{attribute_id}`](/storefront/customers-api/reference/attributes/delete-api-v1-app-id-users-user-id-attributes-attribute-id) — Remove attribute relationship from a user. - [`POST /api/v1/{app_id}/users/{user_id}/attributes/{attribute_id}`](/storefront/customers-api/reference/attributes/post-api-v1-app-id-users-user-id-attributes-attribute-id) — Add attribute relationship to a user. ## Customer Groups - [`GET /api/v1/{app_id}/customer-groups/{customer_group_slug}`](/storefront/customers-api/reference/customer-groups/get-api-v1-app-id-customer-groups-customer-group-slug) — Get customer group by slug. - [`GET /api/v1/{app_id}/customer-groups/store-groups/{store_group_id}/markets/{market_id}/prices`](/storefront/customers-api/reference/customer-groups/get-api-v1-app-id-customer-groups-store-groups-store-group-id-markets-market-id-prices) — Get customer groups with paginated prices for a user or organisation. --- # Remove attribute relationship from an organisation Source: https://docs.enad.io/storefront/customers-api/reference/attributes/delete-api-v1-app-id-organisations-organisation-id-attributes-attribute-id Disassociates an attribute from a specific organisation. `DELETE /api/v1/{app_id}/organisations/{organisation_id}/attributes/{attribute_id}` **Responses** - `200` — The updated organisation object - `400` — Invalid request parameters - `403` — Forbidden - `404` — Organisation or Attribute relationship not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # Remove attribute relationship from a user Source: https://docs.enad.io/storefront/customers-api/reference/attributes/delete-api-v1-app-id-users-user-id-attributes-attribute-id Disassociates an attribute from a specific user. `DELETE /api/v1/{app_id}/users/{user_id}/attributes/{attribute_id}` **Responses** - `200` — The updated user object - `400` — Invalid request parameters - `404` — User or Attribute relationship not found - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # List attributes for an application Source: https://docs.enad.io/storefront/customers-api/reference/attributes/get-api-v1-app-id-attributes Retrieves a paginated list of attributes for a given application ID. Supports filtering by template key and searching by attribute name. `GET /api/v1/{app_id}/attributes` **Responses** - `200` — A paginated list of attributes - `400` — Invalid request parameters - `500` — Internal server error Response example, 200: ```json { "items": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0 } ``` --- # Get a single attribute Source: https://docs.enad.io/storefront/customers-api/reference/attributes/get-api-v1-app-id-attributes-attribute-id Retrieves a specific attribute by its ID for a given application ID. `GET /api/v1/{app_id}/attributes/{attribute_id}` **Responses** - `200` — The requested attribute - `400` — Invalid request parameters - `404` — Attribute not found - `500` — Internal server error Response example, 200: ```json { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ``` --- # Add attribute relationship to an organisation Source: https://docs.enad.io/storefront/customers-api/reference/attributes/post-api-v1-app-id-organisations-organisation-id-attributes-attribute-id Associates an attribute with a specific organisation. `POST /api/v1/{app_id}/organisations/{organisation_id}/attributes/{attribute_id}` **Responses** - `200` — The updated organisation object - `400` — Invalid request parameters - `403` — Forbidden - `404` — Organisation or Attribute not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # Add attribute relationship to a user Source: https://docs.enad.io/storefront/customers-api/reference/attributes/post-api-v1-app-id-users-user-id-attributes-attribute-id Associates an attribute with a specific user. `POST /api/v1/{app_id}/users/{user_id}/attributes/{attribute_id}` **Responses** - `200` — The updated user object - `400` — Invalid request parameters - `404` — User or Attribute not found - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Change password Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-change-password Set new password using reset token `POST /api/v1/{app_id}/auth/change-password` **Request body** (`application/json`, required) New password - `password` (string, required) - `reset_password_token` (string, required) Request body example: ```json { "password": "stringst", "reset_password_token": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Login user Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-login Authenticates a user and returns access token `POST /api/v1/{app_id}/auth/login` **Request body** (`application/json`, required) Login credentials - `email` (string, required) - `password` (string, required) Request body example: ```json { "email": "string", "password": "stringst" } ``` **Responses** - `200` — OK - `400` — Invalid request - `401` — Invalid credentials - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "access_token": "string", "expires_in": 0, "refresh_token": "string", "token_type": "string", "user": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } } ``` --- # Refresh token Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-refresh Get new access token using refresh token `POST /api/v1/{app_id}/auth/refresh` **Request body** (`application/json`, required) Refresh token - `refresh_token` (string, required) Request body example: ```json { "refresh_token": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `401` — Invalid refresh token - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "access_token": "string", "expires_in": 0, "refresh_token": "string", "token_type": "string" } ``` --- # Create password reset link Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-reset-password Generate a password reset link `POST /api/v1/{app_id}/auth/reset-password` **Request body** (`application/json`, required) Email address - `email` (string, required) Request body example: ```json { "email": "string" } ``` **Responses** - `200` — Reset password link created and sent via email - `400` — Invalid request - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Register new user Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-signup Register a new user account `POST /api/v1/{app_id}/auth/signup` **Request body** (`application/json`, required) User registration details - `allow_email_notifications` (boolean) - `allow_phone_notifications` (boolean) - `allow_postal_notifications` (boolean) - `city` (string) - `country` (string) - `country_code` (string) - `email` (string, required) - `first_name` (string) - `language` (string) — should be either "en" or "en-gb" - `last_name` (string) - `market` (string) - `password` (string, required) - `phone_number` (string) - `postal_code` (string) - `social_security_number` (string) - `status` (string) - `store_group` (string) - `street` (string) - `third_party_sign_up` (boolean) Request body example: ```json { "allow_email_notifications": true, "allow_phone_notifications": true, "allow_postal_notifications": true, "city": "string", "country": "string", "country_code": "string", "email": "string", "first_name": "string", "language": "string", "last_name": "string", "market": "string", "password": "stringst", "phone_number": "string", "postal_code": "string", "social_security_number": "string", "status": "active", "store_group": "string", "street": "string", "third_party_sign_up": true } ``` **Responses** - `200` — OK - `400` — Invalid request - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Create email verification link Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-verify-email Generate an email verification link `POST /api/v1/{app_id}/auth/verify-email` **Request body** (`application/json`, required) Email address - `email` (string, required) Request body example: ```json { "email": "string" } ``` **Responses** - `200` — Email verification link created and sent via email - `400` — Invalid request - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Verify email Source: https://docs.enad.io/storefront/customers-api/reference/auth/post-api-v1-app-id-auth-verify-email-token Verify user's email address `POST /api/v1/{app_id}/auth/verify-email-token` **Request body** (`application/json`, required) Email verification token - `email_verification_token` (string, required) Request body example: ```json { "email_verification_token": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `404` — App not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Delete a saved cart Source: https://docs.enad.io/storefront/customers-api/reference/cart/delete-api-v1-app-id-carts-id Remove a saved cart reference for the authenticated user. `DELETE /api/v1/{app_id}/carts/{id}` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `404` — Cart not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # List saved carts for authenticated user Source: https://docs.enad.io/storefront/customers-api/reference/cart/get-api-v1-app-id-carts Returns a paginated list of saved external cart references for the authenticated user. `GET /api/v1/{app_id}/carts` **Responses** - `200` — Paginated list of carts - `400` — Invalid request parameters - `401` — Unauthorized - `500` — Internal server error Response example, 200: ```json { "items": [ { "cart_id": "string", "created_at": "string", "id": "string", "source": "string", "updated_at": "string" } ], "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0 } ``` --- # Save a new cart reference Source: https://docs.enad.io/storefront/customers-api/reference/cart/post-api-v1-app-id-carts Save an external cart ID for the authenticated user so it can be resumed later. `POST /api/v1/{app_id}/carts` **Request body** (`application/json`, required) Cart creation data - `cart_id` (string, required) - `source` (string, required) Request body example: ```json { "cart_id": "string", "source": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `409` — Duplicate cart - `500` — Internal server error Response example, 200: ```json { "cart_id": "string", "created_at": "string", "id": "string", "source": "string", "updated_at": "string" } ``` --- # Get customer group by slug Source: https://docs.enad.io/storefront/customers-api/reference/customer-groups/get-api-v1-app-id-customer-groups-customer-group-slug Get a customer group by app_id and slug `GET /api/v1/{app_id}/customer-groups/{customer_group_slug}` **Responses** - `200` — OK - `400` — Invalid request - `404` — Not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "name": "string", "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" } ``` --- # Get customer groups with paginated prices for a user or organisation Source: https://docs.enad.io/storefront/customers-api/reference/customer-groups/get-api-v1-app-id-customer-groups-store-groups-store-group-id-markets-market-id-prices Returns customer groups accessible to the given user (direct + organisations + ancestor organisations) OR to the given organisation (direct + ancestor organisations), for the given store group. Exactly one of `user_id` or `organisation_id` must be provided. Product variant customer group prices for the given market are paginated and nested under their customer group. Repeat `parent_number` to filter prices to variants under any of the given parent product numbers. `GET /api/v1/{app_id}/customer-groups/store-groups/{store_group_id}/markets/{market_id}/prices` **Responses** - `200` — Customer groups with nested paginated prices - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "customer_groups": [ { "app_id": "string", "created_at": "string", "discount_percentage": 0, "discount_percentage_decimals": 0, "id": "string", "name": "string", "prices": [ { "created_at": "string", "id": "string", "price_amount": 0, "product_number": "string", "product_variant_id": "string", "updated_at": "string", "variant_number": "string" } ], "slug": "string", "store_group_id": "string", "type": "string", "updated_at": "string" } ], "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0 } ``` --- # Delete a file Source: https://docs.enad.io/storefront/customers-api/reference/files/delete-api-v1-app-id-files-file-id Deletes a file by its ID `DELETE /api/v1/{app_id}/files/{file_id}` **Responses** - `200` — OK - `400` — Invalid request - `403` — Forbidden - `404` — File not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Patch file metadata Source: https://docs.enad.io/storefront/customers-api/reference/files/patch-api-v1-app-id-files-file-id Updates file metadata without re-uploading the file. Only provided fields are updated. `PATCH /api/v1/{app_id}/files/{file_id}` **Request body** (`application/json`, required) Fields to update - `custom_fields` (object) - `order_reference` (string) - `organisation_number` (string) - `relationship_ids` (string[]) Request body example: ```json { "custom_fields": { "property1": null, "property2": null }, "order_reference": "string", "organisation_number": "string", "relationship_ids": [ "string" ] } ``` **Responses** - `200` — OK - `400` — Invalid request - `404` — File not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ``` --- # Upload a file Source: https://docs.enad.io/storefront/customers-api/reference/files/post-api-v1-app-id-files-upload Uploads a file as base64 and optionally links it to users or organisations `POST /api/v1/{app_id}/files/upload` **Request body** (`application/json`, required) File upload data - `base64_encoded_image` (string, required) - `custom_fields` (object) - `filename` (string) - `order_reference` (string) - `organisation_number` (string) - `relationship_ids` (string[]) Request body example: ```json { "base64_encoded_image": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "order_reference": "string", "organisation_number": "string", "relationship_ids": [ "string" ] } ``` **Responses** - `201` — Created - `400` — Invalid request - `500` — Internal server error Response example, 201: ```json { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ``` --- # List all orders for an app Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders List all orders for the app with filtering and pagination (max 50 per page). Authenticated via service token. `GET /api/v1/{app_id}/lookup/orders` **Responses** - `200` — OK - `400` — Invalid request - `500` — Internal server error Response example, 200: ```json { "limit": 0, "orders": [ { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ], "page": 0, "total": 0, "total_pages": 0 } ``` --- # Get order by ID for an app Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders-id Get a single order by ID with full product and variant data. Authenticated via service token. `GET /api/v1/{app_id}/lookup/orders/{id}` **Responses** - `200` — OK - `400` — Invalid request - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ``` --- # Get order by reference for an app Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-lookup-orders-reference-reference Get a single order by reference with full product and variant data. Authenticated via service token. `GET /api/v1/{app_id}/lookup/orders/reference/{reference}` **Responses** - `200` — OK - `400` — Invalid request - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ``` --- # List orders for authenticated user Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-orders List all orders for the authenticated user with pagination, ordered by created_at DESC `GET /api/v1/{app_id}/orders` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `500` — Internal server error Response example, 200: ```json { "limit": 0, "orders": [ { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ], "page": 0, "total": 0 } ``` --- # Get order by ID for authenticated user Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-orders-id Get a single order by ID for the authenticated user with full product and variant data `GET /api/v1/{app_id}/orders/{id}` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ``` --- # Get order by reference for authenticated user Source: https://docs.enad.io/storefront/customers-api/reference/orders/get-api-v1-app-id-orders-reference-reference Get a single order by reference for the authenticated user with full product and variant data `GET /api/v1/{app_id}/orders/reference/{reference}` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `404` — Order not found - `500` — Internal server error Response example, 200: ```json { "app_id": "string", "billing_address": "string", "bonus_total": 0, "country_code": "string", "created_at": "string", "currency_code": "string", "discount_total": 0, "gift_card_total": 0, "grand_total": 0, "id": "string", "language_code": "string", "lines": [ { "base_price_amount": 0, "created_at": "string", "currency_code": "string", "id": "string", "order_id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "quantity": 0, "tax_group_id": "string", "total_discount_amount": 0, "total_price_amount": 0, "total_sale_price": 0, "total_tax_amount": 0, "updated_at": "string", "variant": { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" }, "variant_id": "string" } ], "merchant_user_id": "string", "payment_method": "string", "payment_method_id": "string", "payment_method_name": "string", "reference": "string", "session_id": "string", "shipping_address": "string", "shipping_methods": [ "string" ], "shipping_total": 0, "source": "string", "status": "string", "sub_total": 0, "tax_total": 0, "updated_at": "string" } ``` --- # Delete organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/delete-api-v1-app-id-organisations-id Delete an organisation `DELETE /api/v1/{app_id}/organisations/{id}` **Responses** - `200` — OK - `400` — Invalid request - `403` — Forbidden - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Remove user from organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/delete-api-v1-app-id-organisations-id-users-user-id Removes a user from an organisation. Only admins can perform this action. `DELETE /api/v1/{app_id}/organisations/{id}/users/{user_id}` **Responses** - `200` — OK - `400` — Invalid request - `403` — Forbidden - `404` — Not Found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Get organisation by organisation number Source: https://docs.enad.io/storefront/customers-api/reference/organisations/get-api-v1-app-id-lookup-organisations-organisation-number Get a single organisation that the user is related to `GET /api/v1/{app_id}/lookup/organisations/{organisation-number}` **Responses** - `200` — OK - `400` — Invalid request - `404` — Organisation not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # List organisations Source: https://docs.enad.io/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations List all organisations for the current user `GET /api/v1/{app_id}/organisations` **Responses** - `200` — OK - `400` — Invalid request - `500` — Internal server error Response example, 200: ```json { "companies": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "page": 0, "total": 0, "total_pages": 0 } ``` --- # Get organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id Get a single organisation that the user is related to `GET /api/v1/{app_id}/organisations/{id}` **Responses** - `200` — OK - `400` — Invalid request - `404` — Organisation not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # Get organisation tree Source: https://docs.enad.io/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id-tree Get the tree of organisations that the requested organisation is part of `GET /api/v1/{app_id}/organisations/{id}/tree` **Responses** - `200` — OK - `400` — Invalid request - `404` — Organisation not found - `500` — Internal server error Response example, 200: ```json { "ancestors": [ { "app_id": "string", "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "status": "string", "tax_id_vat_number": "string", "updated_at": "string" } ], "company_tree": { "app_id": "string", "children": [ {} ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "email": "string", "external_ref": "string", "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "status": "string", "tax_id_vat_number": "string", "updated_at": "string" } } ``` --- # List users for an organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/get-api-v1-app-id-organisations-id-users Get a paginated list of users belonging to a specific organisation with optional search on first_name, last_name, and email. `GET /api/v1/{app_id}/organisations/{id}/users` **Responses** - `200` — OK - `400` — Invalid request parameters - `404` — Organisation not found - `500` — Internal server error Response example, 200: ```json { "items": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ], "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0 } ``` --- # Patch organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/patch-api-v1-app-id-organisations-id Update specific fields of an organisation `PATCH /api/v1/{app_id}/organisations/{id}` **Request body** (`application/json`, required) Fields to update - `attribute_ids` (string[]) - `billing_addresses` (AddressPatch[]) - `comment` (string) - `contact_name` (string) - `credit_check` (boolean) - `custom_fields` (object) - `email` (string) - `external_ref` (string) - `invoice_email` (string) - `name` (string) - `organisation_number` (string) - `phone` (string) - `shipping_addresses` (AddressPatch[]) - `status` (string) - `store_groups` (string[]) - `tax_id_vat_number` (string) Request body example: ```json { "attribute_ids": [ "string" ], "billing_addresses": [ { "city": "string", "co_address": "string", "company_name": "string", "country": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string" } ], "comment": "string", "contact_name": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "email": "string", "external_ref": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "phone": "string", "shipping_addresses": [ { "city": "string", "co_address": "string", "company_name": "string", "country": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "state_province": "string", "street_address": "string" } ], "status": "active", "store_groups": [ "string" ], "tax_id_vat_number": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `403` — Forbidden - `404` — Organisation not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # Register new organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/post-api-v1-app-id-organisations Register a new organisation and attach the current logged in users to the organisation `POST /api/v1/{app_id}/organisations` **Request body** (`application/json`, required) User registration details - `attribute_ids` (string[]) - `billing_address` (CompanyAddressRequest[]) - `comment` (string) - `contact_name` (string) - `credit_check` (boolean) - `custom_fields` (object) - `customer_role` (string) — The role asigned to the signed in user in the organisation and user relationship. The slug of the custom role - `email` (string) - `external_ref` (string) - `invoice_email` (string) - `name` (string, required) - `organisation_number` (string) - `phone` (string) - `shipping_address` (CompanyAddressRequest[]) - `status` (string, required) - `store_groups` (string[]) - `tax_id_vat_number` (string) - `user_id` (string, required) Request body example: ```json { "attribute_ids": [ "string" ], "billing_address": [ { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string" } ], "comment": "string", "contact_name": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_role": "string", "email": "string", "external_ref": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "country": "string", "house_number": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string" } ], "status": "active", "store_groups": [ "string" ], "tax_id_vat_number": "string", "user_id": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `404` — Related organisation data not found - `500` — Internal server error Response example, 200: ```json { "company": { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" }, "users": [ { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "level": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "role": "string", "role_name": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ] } ``` --- # Add user to organisation Source: https://docs.enad.io/storefront/customers-api/reference/organisations/post-api-v1-app-id-organisations-id-users Adds a user to an organisation with default level. Only admins can perform this action. `POST /api/v1/{app_id}/organisations/{id}/users` **Request body** (`application/json`, required) User ID to add - `level` (string, required) - `role` (string, required) - `user_id` (string, required) Request body example: ```json { "level": "admin", "role": "string", "user_id": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `403` — Forbidden - `404` — Not Found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Delete current user Source: https://docs.enad.io/storefront/customers-api/reference/users/delete-api-v1-app-id-user Deletes the current user's account, with optional soft delete that anonymizes the data `DELETE /api/v1/{app_id}/user` **Responses** - `204` — No Content - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error --- # Gets the user from the token Source: https://docs.enad.io/storefront/customers-api/reference/users/get-api-v1-app-id-user `GET /api/v1/{app_id}/user` **Responses** - `200` — User object - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Get user by ID Source: https://docs.enad.io/storefront/customers-api/reference/users/get-api-v1-app-id-users-user-id Get a user by their ID within the same app `GET /api/v1/{app_id}/users/{user_id}` **Responses** - `200` — User object - `400` — Invalid request - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Updates the user information Source: https://docs.enad.io/storefront/customers-api/reference/users/patch-api-v1-app-id-user Updates the user information for the authenticated user `PATCH /api/v1/{app_id}/user` **Request body** (`application/json`, required) User update data - `additions` (object) - `allow_email_notifications` (boolean) - `allow_phone_notifications` (boolean) - `allow_postal_notifications` (boolean) - `city` (string) - `comment` (string) - `country` (string) - `country_code` (string) - `customer_group_ids` (string[]) - `email` (string) - `email_verified` (boolean) - `first_name` (string) - `is_super_admin` (boolean) - `language` (string) - `last_name` (string) - `market` (string) - `phone_number` (string) - `postal_code` (string) - `social_security_number` (string) - `status` (string) - `store_group` (string) - `street` (string) - `third_party_sign_up` (boolean) Request body example: ```json { "additions": { "property1": "string", "property2": "string" }, "allow_email_notifications": true, "allow_phone_notifications": true, "allow_postal_notifications": true, "city": "string", "comment": "string", "country": "string", "country_code": "string", "customer_group_ids": [ "string" ], "email": "string", "email_verified": true, "first_name": "string", "is_super_admin": true, "language": "string", "last_name": "string", "market": "string", "phone_number": "string", "postal_code": "string", "social_security_number": "string", "status": "active", "store_group": "string", "street": "string", "third_party_sign_up": true } ``` **Responses** - `200` — Updated user object - `400` — Invalid request - `401` — Unauthorized access - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Update user by ID Source: https://docs.enad.io/storefront/customers-api/reference/users/patch-api-v1-app-id-users-user-id Updates user information for a specific user within the same app `PATCH /api/v1/{app_id}/users/{user_id}` **Request body** (`application/json`, required) User update data - `additions` (object) - `allow_email_notifications` (boolean) - `allow_phone_notifications` (boolean) - `allow_postal_notifications` (boolean) - `city` (string) - `comment` (string) - `country` (string) - `country_code` (string) - `customer_group_ids` (string[]) - `email` (string) - `email_verified` (boolean) - `first_name` (string) - `is_super_admin` (boolean) - `language` (string) - `last_name` (string) - `market` (string) - `phone_number` (string) - `postal_code` (string) - `social_security_number` (string) - `status` (string) - `store_group` (string) - `street` (string) - `third_party_sign_up` (boolean) Request body example: ```json { "additions": { "property1": "string", "property2": "string" }, "allow_email_notifications": true, "allow_phone_notifications": true, "allow_postal_notifications": true, "city": "string", "comment": "string", "country": "string", "country_code": "string", "customer_group_ids": [ "string" ], "email": "string", "email_verified": true, "first_name": "string", "is_super_admin": true, "language": "string", "last_name": "string", "market": "string", "phone_number": "string", "postal_code": "string", "social_security_number": "string", "status": "active", "store_group": "string", "street": "string", "third_party_sign_up": true } ``` **Responses** - `200` — Updated user object - `400` — Invalid request - `401` — Unauthorized access - `404` — User not found - `500` — Internal server error Response example, 200: ```json { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } ``` --- # Lookup user by email Source: https://docs.enad.io/storefront/customers-api/reference/users/post-api-v1-app-id-lookup-user `POST /api/v1/{app_id}/lookup/user` **Responses** - `200` — User object with order count - `400` — Invalid request - `401` — Unauthorized access - `404` — User dosn't exist - `500` — Internal server error Response example, 200: ```json { "orders_count": 0, "user": { "additions": { "property1": "string", "property2": "string" }, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "addressID": "string", "formattedAddress": "string", "organisationID": "string", "organisationName": "string", "organisationNumber": "string" } ], "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "comment": "string", "communication_preferences": { "allow_email": true, "allow_postal": true, "allow_sms": true }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verified": true, "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "first_name": "string", "id": "string", "is_super_admin": true, "language": "string", "last_login_at": "string", "last_name": "string", "market": "string", "market_currency": "string", "market_id": "string", "organisations": [ { "app_id": "string", "attributes": [ { "description": "string", "id": "string", "key": "string", "name": "string", "template_key": "string", "translations": { "description": { "property1": "string", "property2": "string" }, "name": { "property1": "string", "property2": "string" } }, "values": { "property1": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ], "property2": [ { "translations": { "value": { "property1": "string", "property2": "string" } }, "type": "string", "value": "string" } ] } } ], "billing_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "comment": "string", "contact_name": "string", "created_at": "string", "credit_check": true, "custom_fields": { "property1": "string", "property2": "string" }, "custom_role_id": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "external_ref": "string", "files": [ { "app_id": "string", "content_type": "string", "created_at": "string", "custom_fields": { "property1": null, "property2": null }, "filename": "string", "id": "string", "updated_at": "string", "url": "string" } ], "id": "string", "invoice_email": "string", "level": "string", "name": "string", "organisation_number": "string", "parent_id": "string", "phone": "string", "role": "string", "role_name": "string", "shipping_address": [ { "city": "string", "co_address": "string", "company_id": "string", "company_name": "string", "country": "string", "created_at": "string", "house_number": "string", "id": "string", "is_default": true, "name": "string", "phone": "string", "postal_code": "string", "shipping_type": "string", "state_province": "string", "street_address": "string", "updated_at": "string" } ], "status": "string", "store_groups": [ { "country_of_sale": "string", "created_at": "string", "description": "string", "id": "string", "name": "string", "slug": "string", "store_type": "string", "updated_at": "string" } ], "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "tax_id_vat_number": "string", "updated_at": "string" } ], "phone_number": "string", "social_security_number": "string", "status": "string", "store_group": "string", "store_group_id": "string", "tags": [ { "app_id": "string", "id": "string", "key": "string", "name": "string" } ], "third_party_sign_up": true, "updated_at": "string" } } ``` --- # Delete wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id Delete a wishlist for the authenticated user `DELETE /api/v1/{app_id}/wishlists/{id}` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Remove items from wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id-items Remove one or more items from a wishlist for the authenticated user. Use product_ids to remove product-level items (variant_group_id is null) or variant_group_ids to remove variant-group-scoped items. `DELETE /api/v1/{app_id}/wishlists/{id}/items` **Request body** (`application/json`, required) Items to remove - `product_ids` (string[]) - `variant_group_ids` (string[]) Request body example: ```json { "product_ids": [ "string" ], "variant_group_ids": [ "string" ] } ``` **Responses** - `200` — Items removed successfully - `400` — Invalid request - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Revoke wishlist share token Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/delete-api-v1-app-id-wishlists-id-share-token Revoke a shareable token for a wishlist `DELETE /api/v1/{app_id}/wishlists/{id}/share/{token}` **Responses** - `200` — Share token deleted successfully - `400` — Invalid request - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Get shared wishlist (paginated) Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/get-api-v1-app-id-shared-wishlists-token View a wishlist using a share token. Requires api-key for server verification. Returns paginated items. `GET /api/v1/{app_id}/shared/wishlists/{token}` **Responses** - `200` — OK - `400` — Invalid request parameters - `404` — Wishlist not found or token expired - `500` — Internal server error Response example, 200: ```json { "created_at": "string", "id": "string", "is_default": true, "items": [ { "created_at": "string", "id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "variant_group": { "description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "name": "string", "product_id": "string", "slug": "string", "translations_description": { "property1": null, "property2": null }, "translations_name": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null } }, "variant_group_id": "string" } ], "name": "string", "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0, "updated_at": "string", "user_id": "string" } ``` --- # List wishlists for authenticated user Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/get-api-v1-app-id-wishlists Returns a paginated list of wishlists for the authenticated user. The total_items count reflects the filtered results (if applied). `GET /api/v1/{app_id}/wishlists` **Responses** - `200` — Paginated list of wishlists with metadata - `400` — Invalid request parameters - `401` — Unauthorized - `500` — Internal server error Response example, 200: ```json { "items": [ { "created_at": "string", "id": "string", "is_default": true, "item_count": 0, "name": "string", "updated_at": "string", "user_id": "string" } ], "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0 } ``` --- # Get a particular wishlist with items. Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/get-api-v1-app-id-wishlists-id Returns a wishlist with paginated wishlist items. `GET /api/v1/{app_id}/wishlists/{id}` **Responses** - `200` — OK - `400` — Invalid request parameters - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "created_at": "string", "id": "string", "is_default": true, "items": [ { "created_at": "string", "id": "string", "product": { "brand": { "id": "string", "name": "string", "slug": "string", "variant": "string" }, "created_at": "string", "custom": { "property1": null, "property2": null }, "description": "string", "html_description": "string", "html_short_description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "product_name": "string", "product_number": "string", "short_description": "string", "slug": "string", "status": "string", "translations_description": { "property1": null, "property2": null }, "translations_html_description": { "property1": null, "property2": null }, "translations_html_short_description": { "property1": null, "property2": null }, "translations_product_name": { "property1": null, "property2": null }, "translations_short_description": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null }, "updated_at": "string", "variants": [ { "created_at": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "prices": [ { "amount_cents_with_tax": 0, "country_codes": [ "string" ], "created_at": "string", "id": "string", "market_id": "string", "market_slug": "string", "on_sale": true, "reference_price": 0, "sale_end_date": "string", "sale_price_with_tax": 0, "sale_start_date": "string", "status": "string", "store_group": "string", "store_group_slug": "string", "updated_at": "string", "variant_id": "string" } ], "product_id": "string", "status": "string", "translations_name": { "property1": null, "property2": null }, "updated_at": "string", "validate_stock": true, "variant_name": "string", "variant_number": "string" } ] }, "product_id": "string", "variant_group": { "description": "string", "id": "string", "images": [ { "alt_text": "string", "blurhash": "string", "custom": { "property1": null, "property2": null }, "id": "string", "image_url": "string", "title": "string" } ], "name": "string", "product_id": "string", "slug": "string", "translations_description": { "property1": null, "property2": null }, "translations_name": { "property1": null, "property2": null }, "translations_slug": { "property1": null, "property2": null } }, "variant_group_id": "string" } ], "name": "string", "page": 0, "page_size": 0, "total_items": 0, "total_pages": 0, "updated_at": "string", "user_id": "string" } ``` --- # Update wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/patch-api-v1-app-id-wishlists-id Update wishlist details for the authenticated user `PATCH /api/v1/{app_id}/wishlists/{id}` **Request body** (`application/json`, required) Wishlist update data - `is_default` (boolean) - `name` (string) Request body example: ```json { "is_default": true, "name": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "created_at": "string", "id": "string", "is_default": true, "item_count": 0, "name": "string", "updated_at": "string", "user_id": "string" } ``` --- # Create a new wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists Create a new empty wishlist for the authenticated user `POST /api/v1/{app_id}/wishlists` **Request body** (`application/json`, required) Wishlist creation data - `is_default` (boolean) - `name` (string, required) Request body example: ```json { "is_default": true, "name": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request - `401` — Unauthorized - `500` — Internal server error Response example, 200: ```json { "created_at": "string", "id": "string", "is_default": true, "item_count": 0, "name": "string", "updated_at": "string", "user_id": "string" } ``` --- # Add items to wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists-id-items Add items to a wishlist. Send either product_ids OR variant_group_ids, not both. - product_ids: save the whole product (variant_group_id will be null on the item). - variant_group_ids: save a specific variant group; product_id is derived from the group. `POST /api/v1/{app_id}/wishlists/{id}/items` **Request body** (`application/json`, required) Items to add - `product_ids` (string[]) — Product IDs for product-level wishlist items. Mutually exclusive with variant\_group\_ids. - `variant_group_ids` (string[]) — Variant group IDs for group-scoped wishlist items. Mutually exclusive with product\_ids. Product ID is derived from each group. Request body example: ```json { "product_ids": [ "string" ], "variant_group_ids": [ "string" ] } ``` **Responses** - `200` — Items added successfully - `400` — Invalid request - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "message": "string" } ``` --- # Create or get share token for wishlist Source: https://docs.enad.io/storefront/customers-api/reference/wishlist/post-api-v1-app-id-wishlists-id-share Generate a shareable token for a wishlist. Returns existing valid token if one exists (otherwise creates a new one). The expires_at field is optional (can be null for no expiration, or a timestamp). `POST /api/v1/{app_id}/wishlists/{id}/share` **Request body** (`application/json`, required) Share token request (expires\_at can be null or a timestamp) - `expires_at` (string) Request body example: ```json { "expires_at": "string" } ``` **Responses** - `200` — OK - `400` — Invalid request or expiration time - `401` — Unauthorized - `404` — Wishlist not found - `500` — Internal server error Response example, 200: ```json { "created_at": "string", "expires_at": "string", "token": "string", "wishlist_id": "string" } ``` --- # Enad TypeScript SDK Source: https://docs.enad.io/storefront/enad-ts-sdk A TypeScript SDK for interacting with the **Enad APIs**. The package has two entry points: | Import | What it gives you | | --- | --- | | `@enadhq/enad-ts-sdk/search` | `createSearchClient()`: a typed client for the [Product Search GraphQL API](/storefront/graphql) at `https://graphql.enad.io`. Use this for product listings, product detail pages, facets, categories, collections, and autocomplete. | | `@enadhq/enad-ts-sdk` | `CustomerClient` for the [Customers API](/storefront/customers-api), and the deprecated `ShopperClient` for the Shopper API. | --- ## Installation ```bash pnpm add @enadhq/enad-ts-sdk # or npm install @enadhq/enad-ts-sdk # or yarn add @enadhq/enad-ts-sdk ``` ## Search client (GraphQL) `createSearchClient()` calls the [Product Search GraphQL API](/storefront/graphql). Every request and response is typed from the GraphQL schema, so you get autocompletion on variables and result fields without writing your own types. ```typescript import { createSearchClient } from "@enadhq/enad-ts-sdk/search"; export const search = createSearchClient({ appId: "app-id-UUID", marketSlug: "us", storeGroupSlug: "store-group-slug", locale: "en", }); ``` The client sends requests to `https://graphql.enad.io/{appId}/graphql`. `marketSlug`, `storeGroupSlug`, and `locale` are added to every request, so you don't pass them per call. To override them for a single call, pass them in the second argument. | Option | Required | Description | | --- | --- | --- | | `appId` | Yes | Your application (tenant) ID. | | `marketSlug` | Yes | Default market for all requests. | | `storeGroupSlug` | Yes | Default store group for all requests. | | `locale` | Yes | Default locale for all requests. | | `baseUrl` | No | Overrides `https://graphql.enad.io/{appId}`. | | `headers` | No | Extra headers, or a function (sync or async) that returns them per request. | | `fetch` | No | Custom `fetch` implementation. Defaults to `globalThis.fetch`. | ### Usage examples 1. Product listing (PLP, search results) ```typescript const { products, pageInfo } = await search.searchProducts({ page: 1, perPage: 24, search: "chair", }); ``` 2. Product detail page by slug or SKU ```typescript const product = await search.getProductBySlug({ slug: "oak-chair" }); const bySku = await search.getProductBySku({ sku: "OAK-CHAIR-1" }); // Include related products (all relation types) const withRelated = await search.getProductBySlug({ slug: "oak-chair", includeRelatedProducts: true, }); ``` Both return `null` when no product matches. 3. Override the market for a single request ```typescript const result = await search.searchProducts( { page: 1, perPage: 24 }, { marketSlug: "se", locale: "sv" }, ); ``` ### Methods | Method | Use it for | | --- | --- | | `searchProducts` / `searchProductCards` | Product lists with `page`, `perPage`, `search`, `filter`, `sortBy`, and `warehouseSlug`. `searchProductCards` returns a lighter selection for grids. | | `getProductBySlug` / `getProductBySku` | A single product when you already know its slug or SKU. | | `searchFacets` | Facet counts for filters (brands, categories, price range, stock, series, tags, attributes). | | `searchCategories`, `getCategoryById`, `getCategoryByUri`, `getCategoryByFullUri` | Categories. | | `searchCollections`, `getCollectionById`, `getCollectionByUri` | Collections. | | `searchBrands`, `searchSeries`, `searchVariants`, `searchRedirects` | Brands, series, variants, and redirects. | | `searchCompletions` | Autocomplete suggestions. | | `getProductSlugs` | All product slugs, for example to generate static pages. | ### Your own queries The SDK also exports the GraphQL documents it uses (for example `SearchProductsDocument`) together with their variable and result types. Pass a document to `executeWithContext` to run it with the client's market, store group, and locale, or to `execute` to pass every variable yourself. The result is typed from the document. ```typescript import { SearchProductsDocument } from "@enadhq/enad-ts-sdk/search"; const data = await search.executeWithContext(SearchProductsDocument, { page: 1, perPage: 12, }); // data.v1Products.products is fully typed ``` The full schema, with every query, type, and field, is in the [Product Search API reference](/storefront/graphql). ### Error handling The search client throws a `SearchClientError` when a request fails. It does not return `[data, error]` tuples. `error.code` is one of `HTTP_ERROR`, `GRAPHQL_ERROR`, `INVALID_JSON`, `MISSING_DATA`, or `CONFIG_ERROR`. ```typescript import { SearchClientError } from "@enadhq/enad-ts-sdk/search"; try { const { products } = await search.searchProducts({ page: 1, perPage: 24 }); } catch (error) { if (error instanceof SearchClientError) { console.error(error.code, error.status, error.message); } throw error; } ``` ## Customers API client `CustomerClient` calls the [Customers API](/storefront/customers-api) at `https://customers.enad.io/api/v1/`. ```typescript import { CustomerClient } from "@enadhq/enad-ts-sdk"; export const customers = new CustomerClient({ apiKey: "api-key-123", appId: "app-id-UUID", groupId: "store-group-slug", }); ``` Modules: - `user`: Retrieve and manage user information. - `wishlist`: Create, list, update, and share wishlists. - `cart`: List and save carts. - `organisation`: Organisations and their users. - `attributes`: Customer attributes. - `customerGroups`: Customer groups and their prices. ## Shopper API client (deprecated) :::warning[Deprecated] `ShopperClient` calls the Shopper API at `https://shopper.enad.io`. We will not add new features to the Shopper API; only bug fixes and security fixes will be made. Use the [search client](#search-client-graphql) instead. ::: ```typescript import { ShopperClient } from "@enadhq/enad-ts-sdk"; export const client = new ShopperClient({ apiKey: "api-key-123", appId: "app-id-UUID", groupId: "store-group-slug", defaultLocale: "en", // Optional. Recommended defaultMarket: "us", // Optional. Recommended }); const [product, error] = await client.products.getBySku("SKU123"); if (error) { console.error("Failed to fetch product:", error.message); } else { console.log("Product id:", product.id); } ``` `EnadClient` is an alias of `ShopperClient`, kept for backwards compatibility. Modules: `products`, `brands`, `categories`, `collections`, `facets`, `redirects`, `series`, `tags`, and `variants`. ## Response format `CustomerClient` and `ShopperClient` methods return a standardized tuple-style response: ```ts type ApiResponse = | [data: T, error: null] | [data: null, error: ApiError]; ``` This design allows for easy destructuring and explicit naming, for example: ```ts const [wishlists, error] = await customers.wishlist.listWishlists(authToken); if (error) { console.error("Failed to fetch wishlists:", error.message); return; } console.log("Wishlists:", wishlists); ``` Because of the response contract: - data is guaranteed to be defined if error is null. - error is guaranteed to be defined if data is null. This means you can safely use one or the other without additional null checks, and you don't need try/catch blocks for simple error handling. --- # Product Search API Source: https://docs.enad.io/storefront/graphql Product search is available over GraphQL at `https://graphql.enad.io/{app_id}/graphql`, where `{app_id}` is your application identifier. Every query is scoped per request by market, store group, warehouse, and locale. Domain: `https://graphql.enad.io` **[API reference](/storefront/graphql/reference)** Every query, type, and field in the Product Search API, with a playground to run requests. Browse queries and types **[TypeScript client](/storefront/enad-ts-sdk#search-client-graphql)** Typed methods and generated types from `@enadhq/enad-ts-sdk/search`, so you don't write queries or types by hand. Use createSearchClient() ## When to use it It is the read API for storefront product discovery: - **Product listing pages**: search with pagination, sorting, and a nested AND/OR filter tree. - **Product detail pages**: product by slug or ID, with variants, brands, categories, collections, and series. - **Facets and autocomplete**: facet counts for filter UIs and search completions. It is read-only and needs no API key: requests are scoped by the `app_id` in the URL path, and browser requests must come from origins in the app's allowed domains. Catalog changes are made through the [Management API](/management/management-api) and appear here through event-driven indexing. ## Indexing Catalog changes are indexed automatically and typically appear in search results within a few minutes. ## Endpoints ### GraphQL API **POST** `https://graphql.enad.io/{app_id}/graphql` Send GraphQL queries to this endpoint. Replace `{app_id}` with your application (tenant) identifier. ### GraphiQL (interactive API explorer) **GET** `https://graphql.enad.io/{app_id}/graphiql` Open this URL in a browser to explore the schema and run queries against your own app in GraphiQL. From TypeScript, the [search client](/storefront/enad-ts-sdk#search-client-graphql) calls the same endpoint: ```typescript import { createSearchClient } from "@enadhq/enad-ts-sdk/search"; const search = createSearchClient({ appId: "APP_ID", marketSlug: "us", storeGroupSlug: "store-group-slug", locale: "en", }); const { products, pageInfo } = await search.searchProducts({ page: 1, perPage: 24 }); ``` --- # API reference Source: https://docs.enad.io/storefront/graphql/reference Product search for ENAD storefronts over GraphQL: full-text search, autocomplete, facet counts, and product queries scoped per request by market, store group, warehouse, and locale. ## When to use it It is the read API for storefront product discovery: product listing pages, product detail pages, category and collection listings, facets, and autocomplete. Send queries to `https://graphql.enad.io/{app_id}/graphql`, replacing `{app_id}` with your application identifier, or use the typed [`@enadhq/enad-ts-sdk/search`](/storefront/enad-ts-sdk) client. It is read-only: catalog changes are made through the [Management API](/management/management-api) and appear here through event-driven indexing. ## Authentication There is no API key. Requests are scoped by the `{app_id}` in the URL path, and browser requests must come from origins in the app's allowed domains. Endpoint: `https://graphql.enad.io/{app_id}/graphql` ## Queries - [`query v1Products`](/storefront/graphql/reference/queries/v1-products) - [`query v1ProductBySlug`](/storefront/graphql/reference/queries/v1-product-by-slug) - [`query v1ProductById`](/storefront/graphql/reference/queries/v1-product-by-id) - [`query v1ProductBySku`](/storefront/graphql/reference/queries/v1-product-by-sku) - [`query v1Facets`](/storefront/graphql/reference/queries/v1-facets) - [`query v1SearchCompletions`](/storefront/graphql/reference/queries/v1-search-completions) - [`query v1ProductSlugs`](/storefront/graphql/reference/queries/v1-product-slugs) - [`query v1Brands`](/storefront/graphql/reference/queries/v1-brands) - [`query v1BrandById`](/storefront/graphql/reference/queries/v1-brand-by-id) - [`query v1BrandBySlug`](/storefront/graphql/reference/queries/v1-brand-by-slug) - [`query v1Series`](/storefront/graphql/reference/queries/v1-series) - [`query v1SeriesById`](/storefront/graphql/reference/queries/v1-series-by-id) - [`query v1SeriesBySlug`](/storefront/graphql/reference/queries/v1-series-by-slug) - [`query v1Categories`](/storefront/graphql/reference/queries/v1-categories) - [`query v1CategoryById`](/storefront/graphql/reference/queries/v1-category-by-id) - [`query v1CategoriesByIds`](/storefront/graphql/reference/queries/v1-categories-by-ids) - [`query v1CategoryByFullUri`](/storefront/graphql/reference/queries/v1-category-by-full-uri) - [`query v1Collections`](/storefront/graphql/reference/queries/v1-collections) - [`query v1CollectionById`](/storefront/graphql/reference/queries/v1-collection-by-id) - [`query v1CollectionByUri`](/storefront/graphql/reference/queries/v1-collection-by-uri) - [`query v1Redirects`](/storefront/graphql/reference/queries/v1-redirects) - [`query v1Variants`](/storefront/graphql/reference/queries/v1-variants) - [`query v1Warehouses`](/storefront/graphql/reference/queries/v1-warehouses) ## Objects - [`type Attribute`](/storefront/graphql/reference/objects/attribute) - [`type AttributeFacet`](/storefront/graphql/reference/objects/attribute-facet) - [`type AttributeValue`](/storefront/graphql/reference/objects/attribute-value) - [`type Brand`](/storefront/graphql/reference/objects/brand) - [`type BrandAddress`](/storefront/graphql/reference/objects/brand-address) - [`type BrandFacet`](/storefront/graphql/reference/objects/brand-facet) - [`type BrandWithSeries`](/storefront/graphql/reference/objects/brand-with-series) - [`type BrandsConnection`](/storefront/graphql/reference/objects/brands-connection) - [`type CategoriesConnection`](/storefront/graphql/reference/objects/categories-connection) - [`type Category`](/storefront/graphql/reference/objects/category) - [`type CategoryFacet`](/storefront/graphql/reference/objects/category-facet) - [`type CategoryWithTree`](/storefront/graphql/reference/objects/category-with-tree) - [`type Collection`](/storefront/graphql/reference/objects/collection) - [`type CollectionFacet`](/storefront/graphql/reference/objects/collection-facet) - [`type CollectionWithTree`](/storefront/graphql/reference/objects/collection-with-tree) - [`type CollectionsConnection`](/storefront/graphql/reference/objects/collections-connection) - [`type CompletionMetadata`](/storefront/graphql/reference/objects/completion-metadata) - [`type CustomField`](/storefront/graphql/reference/objects/custom-field) - [`type CustomFieldFacet`](/storefront/graphql/reference/objects/custom-field-facet) - [`type CustomFieldFacetValue`](/storefront/graphql/reference/objects/custom-field-facet-value) - [`type Facets`](/storefront/graphql/reference/objects/facets) - [`type Image`](/storefront/graphql/reference/objects/image) - [`type PageInfo`](/storefront/graphql/reference/objects/page-info) - [`type PriceRangeFacet`](/storefront/graphql/reference/objects/price-range-facet) - [`type Product`](/storefront/graphql/reference/objects/product) - [`type ProductCategory`](/storefront/graphql/reference/objects/product-category) - [`type ProductFile`](/storefront/graphql/reference/objects/product-file) - [`type ProductRelation`](/storefront/graphql/reference/objects/product-relation) - [`type ProductSlug`](/storefront/graphql/reference/objects/product-slug) - [`type ProductsConnection`](/storefront/graphql/reference/objects/products-connection) - [`type Redirect`](/storefront/graphql/reference/objects/redirect) - [`type RedirectsConnection`](/storefront/graphql/reference/objects/redirects-connection) - [`type RelatedProduct`](/storefront/graphql/reference/objects/related-product) - [`type SearchCompletion`](/storefront/graphql/reference/objects/search-completion) - [`type Series`](/storefront/graphql/reference/objects/series) - [`type SeriesConnection`](/storefront/graphql/reference/objects/series-connection) - [`type SeriesFacet`](/storefront/graphql/reference/objects/series-facet) - [`type SeriesWithBrand`](/storefront/graphql/reference/objects/series-with-brand) - [`type StockFacet`](/storefront/graphql/reference/objects/stock-facet) - [`type Tag`](/storefront/graphql/reference/objects/tag) - [`type TagFacet`](/storefront/graphql/reference/objects/tag-facet) - [`type ThirdPartyLink`](/storefront/graphql/reference/objects/third-party-link) - [`type TranslatedSlug`](/storefront/graphql/reference/objects/translated-slug) - [`type TranslatedUri`](/storefront/graphql/reference/objects/translated-uri) - [`type Variant`](/storefront/graphql/reference/objects/variant) - [`type VariantDimensions`](/storefront/graphql/reference/objects/variant-dimensions) - [`type VariantGroup`](/storefront/graphql/reference/objects/variant-group) - [`type VariantPrice`](/storefront/graphql/reference/objects/variant-price) - [`type VariantStock`](/storefront/graphql/reference/objects/variant-stock) - [`type VariantsConnection`](/storefront/graphql/reference/objects/variants-connection) - [`type Video`](/storefront/graphql/reference/objects/video) - [`type Warehouse`](/storefront/graphql/reference/objects/warehouse) - [`type WarehouseAddress`](/storefront/graphql/reference/objects/warehouse-address) - [`type WarehousesConnection`](/storefront/graphql/reference/objects/warehouses-connection) ## Input Objects - [`input CategoryFilter`](/storefront/graphql/reference/input-objects/category-filter) - [`input CollectionFilter`](/storefront/graphql/reference/input-objects/collection-filter) - [`input CustomFieldFilter`](/storefront/graphql/reference/input-objects/custom-field-filter) - [`input FilterCondition`](/storefront/graphql/reference/input-objects/filter-condition) - [`input ProductFilter`](/storefront/graphql/reference/input-objects/product-filter) - [`input ProductSortInput`](/storefront/graphql/reference/input-objects/product-sort-input) - [`input TagFilter`](/storefront/graphql/reference/input-objects/tag-filter) ## Enums - [`enum FacetArguments`](/storefront/graphql/reference/enums/facet-arguments) - [`enum ImageStatus`](/storefront/graphql/reference/enums/image-status) - [`enum ProductFilterStatus`](/storefront/graphql/reference/enums/product-filter-status) - [`enum ProductStatus`](/storefront/graphql/reference/enums/product-status) - [`enum ProductType`](/storefront/graphql/reference/enums/product-type) - [`enum RedirectType`](/storefront/graphql/reference/enums/redirect-type) - [`enum SearchCompletionTypes`](/storefront/graphql/reference/enums/search-completion-types) - [`enum SortBy`](/storefront/graphql/reference/enums/sort-by) - [`enum StringOperator`](/storefront/graphql/reference/enums/string-operator) - [`enum VariantStatus`](/storefront/graphql/reference/enums/variant-status) - [`enum VideoStatus`](/storefront/graphql/reference/enums/video-status) ## Scalars - [`scalar DateTime`](/storefront/graphql/reference/scalars/date-time) --- # FacetArguments Source: https://docs.enad.io/storefront/graphql/reference/enums/facet-arguments Facets arguments `enum FacetArguments` --- # ImageStatus Source: https://docs.enad.io/storefront/graphql/reference/enums/image-status Image status `enum ImageStatus` --- # ProductFilterStatus Source: https://docs.enad.io/storefront/graphql/reference/enums/product-filter-status `enum ProductFilterStatus` --- # ProductStatus Source: https://docs.enad.io/storefront/graphql/reference/enums/product-status Product status `enum ProductStatus` --- # ProductType Source: https://docs.enad.io/storefront/graphql/reference/enums/product-type `enum ProductType` --- # RedirectType Source: https://docs.enad.io/storefront/graphql/reference/enums/redirect-type `enum RedirectType` --- # SearchCompletionTypes Source: https://docs.enad.io/storefront/graphql/reference/enums/search-completion-types The types of search completions to include in the response `enum SearchCompletionTypes` --- # SortBy Source: https://docs.enad.io/storefront/graphql/reference/enums/sort-by Sort order for products `enum SortBy` --- # StringOperator Source: https://docs.enad.io/storefront/graphql/reference/enums/string-operator `enum StringOperator` --- # VariantStatus Source: https://docs.enad.io/storefront/graphql/reference/enums/variant-status Variant status `enum VariantStatus` --- # VideoStatus Source: https://docs.enad.io/storefront/graphql/reference/enums/video-status Video status `enum VideoStatus` --- # CategoryFilter Source: https://docs.enad.io/storefront/graphql/reference/input-objects/category-filter `input CategoryFilter` --- # CollectionFilter Source: https://docs.enad.io/storefront/graphql/reference/input-objects/collection-filter `input CollectionFilter` --- # CustomFieldFilter Source: https://docs.enad.io/storefront/graphql/reference/input-objects/custom-field-filter `input CustomFieldFilter` --- # FilterCondition Source: https://docs.enad.io/storefront/graphql/reference/input-objects/filter-condition Leaf filter conditions `input FilterCondition` --- # ProductFilter Source: https://docs.enad.io/storefront/graphql/reference/input-objects/product-filter Recursive product filter structure `input ProductFilter` --- # ProductSortInput Source: https://docs.enad.io/storefront/graphql/reference/input-objects/product-sort-input Product sort input `input ProductSortInput` --- # TagFilter Source: https://docs.enad.io/storefront/graphql/reference/input-objects/tag-filter `input TagFilter` --- # Attribute Source: https://docs.enad.io/storefront/graphql/reference/objects/attribute Attribute for product or variant `type Attribute` --- # AttributeFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/attribute-facet Attribute facet with count `type AttributeFacet` --- # AttributeValue Source: https://docs.enad.io/storefront/graphql/reference/objects/attribute-value Attribute value with optional resolved image `type AttributeValue` --- # Brand Source: https://docs.enad.io/storefront/graphql/reference/objects/brand Product brand `type Brand` --- # BrandAddress Source: https://docs.enad.io/storefront/graphql/reference/objects/brand-address Brand address information `type BrandAddress` --- # BrandFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/brand-facet Brand facet with count `type BrandFacet` --- # BrandWithSeries Source: https://docs.enad.io/storefront/graphql/reference/objects/brand-with-series Brands `type BrandWithSeries` --- # BrandsConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/brands-connection Brands with pagination information `type BrandsConnection` --- # CategoriesConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/categories-connection Categories with pagination information `type CategoriesConnection` --- # Category Source: https://docs.enad.io/storefront/graphql/reference/objects/category Category `type Category` --- # CategoryFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/category-facet Category facet with count `type CategoryFacet` --- # CategoryWithTree Source: https://docs.enad.io/storefront/graphql/reference/objects/category-with-tree Category with recursive subcategories `type CategoryWithTree` --- # Collection Source: https://docs.enad.io/storefront/graphql/reference/objects/collection Product collection `type Collection` --- # CollectionFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/collection-facet Collection facet with count `type CollectionFacet` --- # CollectionWithTree Source: https://docs.enad.io/storefront/graphql/reference/objects/collection-with-tree Collection with recursive subcollections `type CollectionWithTree` --- # CollectionsConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/collections-connection Collections with pagination information `type CollectionsConnection` --- # CompletionMetadata Source: https://docs.enad.io/storefront/graphql/reference/objects/completion-metadata `type CompletionMetadata` --- # CustomField Source: https://docs.enad.io/storefront/graphql/reference/objects/custom-field `type CustomField` --- # CustomFieldFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/custom-field-facet Custom field facet `type CustomFieldFacet` --- # CustomFieldFacetValue Source: https://docs.enad.io/storefront/graphql/reference/objects/custom-field-facet-value Custom field facet value `type CustomFieldFacetValue` --- # Facets Source: https://docs.enad.io/storefront/graphql/reference/objects/facets Facets result `type Facets` --- # Image Source: https://docs.enad.io/storefront/graphql/reference/objects/image Product or variant image `type Image` --- # PageInfo Source: https://docs.enad.io/storefront/graphql/reference/objects/page-info Pagination information `type PageInfo` --- # PriceRangeFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/price-range-facet Price range facet `type PriceRangeFacet` --- # Product Source: https://docs.enad.io/storefront/graphql/reference/objects/product `type Product` --- # ProductCategory Source: https://docs.enad.io/storefront/graphql/reference/objects/product-category Product category `type ProductCategory` --- # ProductFile Source: https://docs.enad.io/storefront/graphql/reference/objects/product-file Product or variant file `type ProductFile` --- # ProductRelation Source: https://docs.enad.io/storefront/graphql/reference/objects/product-relation Group of related products by relation type `type ProductRelation` --- # ProductSlug Source: https://docs.enad.io/storefront/graphql/reference/objects/product-slug Product slug with optional variant group slug `type ProductSlug` --- # ProductsConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/products-connection Products with pagination information `type ProductsConnection` --- # Redirect Source: https://docs.enad.io/storefront/graphql/reference/objects/redirect Redirect item `type Redirect` --- # RedirectsConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/redirects-connection Redirect with pagination information `type RedirectsConnection` --- # RelatedProduct Source: https://docs.enad.io/storefront/graphql/reference/objects/related-product Related product with basic information `type RelatedProduct` --- # SearchCompletion Source: https://docs.enad.io/storefront/graphql/reference/objects/search-completion `type SearchCompletion` --- # Series Source: https://docs.enad.io/storefront/graphql/reference/objects/series Product series `type Series` --- # SeriesConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/series-connection Series with pagination information `type SeriesConnection` --- # SeriesFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/series-facet Series facet with count `type SeriesFacet` --- # SeriesWithBrand Source: https://docs.enad.io/storefront/graphql/reference/objects/series-with-brand Series with parent brand `type SeriesWithBrand` --- # StockFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/stock-facet Stock availability facet with count `type StockFacet` --- # Tag Source: https://docs.enad.io/storefront/graphql/reference/objects/tag Tag for product or variant `type Tag` --- # TagFacet Source: https://docs.enad.io/storefront/graphql/reference/objects/tag-facet Tag facet with count `type TagFacet` --- # ThirdPartyLink Source: https://docs.enad.io/storefront/graphql/reference/objects/third-party-link External link to third-party content `type ThirdPartyLink` --- # TranslatedSlug Source: https://docs.enad.io/storefront/graphql/reference/objects/translated-slug Product slug for a specific locale `type TranslatedSlug` --- # TranslatedUri Source: https://docs.enad.io/storefront/graphql/reference/objects/translated-uri Category or collection URI for a specific locale `type TranslatedUri` --- # Variant Source: https://docs.enad.io/storefront/graphql/reference/objects/variant `type Variant` --- # VariantDimensions Source: https://docs.enad.io/storefront/graphql/reference/objects/variant-dimensions Variant dimensions `type VariantDimensions` --- # VariantGroup Source: https://docs.enad.io/storefront/graphql/reference/objects/variant-group Variant group belonging to a flexible product `type VariantGroup` --- # VariantPrice Source: https://docs.enad.io/storefront/graphql/reference/objects/variant-price Variant price for a specific market and store group `type VariantPrice` --- # VariantStock Source: https://docs.enad.io/storefront/graphql/reference/objects/variant-stock Variant stock for a specific warehouse `type VariantStock` --- # VariantsConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/variants-connection Variants with pagination information `type VariantsConnection` --- # Video Source: https://docs.enad.io/storefront/graphql/reference/objects/video Product or variant video `type Video` --- # Warehouse Source: https://docs.enad.io/storefront/graphql/reference/objects/warehouse Warehouse `type Warehouse` --- # WarehouseAddress Source: https://docs.enad.io/storefront/graphql/reference/objects/warehouse-address Warehouse address information `type WarehouseAddress` --- # WarehousesConnection Source: https://docs.enad.io/storefront/graphql/reference/objects/warehouses-connection Warehouses with pagination information `type WarehousesConnection` --- # v1BrandById Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-brand-by-id Get a single brand by ID `query v1BrandById` --- # v1BrandBySlug Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-brand-by-slug Get a single brand by slug `query v1BrandBySlug` --- # v1Brands Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-brands Query brands with search and pagination `query v1Brands` --- # v1Categories Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-categories Query categories with search and pagination `query v1Categories` --- # v1CategoriesByIds Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-categories-by-ids Get multiple categories by ID `query v1CategoriesByIds` --- # v1CategoryByFullUri Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-category-by-full-uri Get a single category by full URI path `query v1CategoryByFullUri` --- # v1CategoryById Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-category-by-id Get a single category by ID `query v1CategoryById` --- # v1CollectionById Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-collection-by-id Get a single collection by ID `query v1CollectionById` --- # v1CollectionByUri Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-collection-by-uri Get a single collection by URI `query v1CollectionByUri` --- # v1Collections Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-collections Query collections with search and pagination `query v1Collections` --- # v1Facets Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-facets Query facets for products with optional filtering `query v1Facets` --- # v1ProductById Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-product-by-id Query product by id `query v1ProductById` --- # v1ProductBySku Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-product-by-sku Query product by sku `query v1ProductBySku` --- # v1ProductBySlug Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-product-by-slug Query product by slug `query v1ProductBySlug` --- # v1ProductSlugs Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-product-slugs Get product slugs `query v1ProductSlugs` --- # v1Products Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-products Query products with filtering, pagination, and sorting capabilities `query v1Products` --- # v1Redirects Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-redirects Query redirects with filtering and pagination `query v1Redirects` --- # v1SearchCompletions Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-search-completions Get search completions/suggestions for product names `query v1SearchCompletions` --- # v1Series Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-series Query series with search and pagination `query v1Series` --- # v1SeriesById Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-series-by-id Get a single series by ID `query v1SeriesById` --- # v1SeriesBySlug Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-series-by-slug Get a single series by slug `query v1SeriesBySlug` --- # v1Variants Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-variants Query variants with filtering on status and sku `query v1Variants` --- # v1Warehouses Source: https://docs.enad.io/storefront/graphql/reference/queries/v1-warehouses Query warehouses with optional slug filtering and pagination `query v1Warehouses` --- # DateTime Source: https://docs.enad.io/storefront/graphql/reference/scalars/date-time Combined date and time (with time zone) in [RFC 3339][0] format. Represents a description of an exact instant on the time-line (such as the instant that a user account was created). [`DateTime` scalar][1] compliant. See also [`chrono::DateTime`][2] for details. [0]: https://datatracker.ietf.org/doc/html/rfc3339#section-5 [1]: https://graphql-scalars.dev/docs/scalars/date-time [2]: https://docs.rs/chrono/latest/chrono/struct.DateTime.html `scalar DateTime` --- # Media CDN Source: https://docs.enad.io/storefront/media Domain: `https://media.enad.io` ## Overview The Media CDN provides image processing capabilities including resizing, cropping, format conversion, and various transformation effects. ## Endpoints ### Image Processing **GET** `/{app_id}/{filename}` Process and transform images stored in R2 bucket with various options. #### Path Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `app_id` | `string` | Yes | Application/tenant UUID identifier | | `filename` | `string` | Yes | Image filename in the bucket | #### Query Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `width` | `u32` | No | - | Target width in pixels (1-5000) | | `height` | `u32` | No | - | Target height in pixels (1-5000) | | `quality` | `u8` | No | `80` | Image quality (0-100) | | `format` | `string` | No | original | Output format: `webp`, `avif`, `png`, `jpeg`, `jpg` | | `fit` | `string` | No | `contain` | Resize mode (see Fit Modes below) | | `blur` | `f32` | No | - | Blur intensity (0.0-100.0) | | `crop_x` | `i32` | No | - | Horizontal crop offset in pixels | | `crop_y` | `i32` | No | - | Vertical crop offset in pixels | | `fill` | `string` | No | - | Background fill color (hex format: `#000000`) | | `bg_remove` | `boolean` | No | - | Remove background using machine learning | #### Fit Modes - **`contain`** - Resize to fit within dimensions, maintaining aspect ratio - **`cover`** - Scale to fill dimensions, cropping excess (centers crop unless `crop_x`/`crop_y` specified) - **`scale-down`** - Only resize if image is larger than target dimensions - **`crop`** - Scale and crop to exact dimensions - **`pad`** - Resize to fit and pad remaining space with transparent background - **`squeeze`** - Stretch/squash to exact dimensions, ignoring aspect ratio #### Dimension Behavior - If only `width` is provided: height is calculated to maintain aspect ratio - If only `height` is provided: width is calculated to maintain aspect ratio - If both are provided: behavior depends on `fit` mode - If neither is provided: original dimensions are used #### Examples ```bash # Resize to width 800, maintain aspect ratio GET https://media.enad.io/{app_id}/photo.jpg?width=800 # Convert to WebP with quality 90 GET https://media.enad.io/{app_id}/photo.jpg?format=webp&quality=90 # Resize and crop to exact dimensions GET https://media.enad.io/{app_id}/photo.jpg?width=1920&height=1080&fit=cover # Add blur effect GET https://media.enad.io/{app_id}/photo.jpg?width=800&blur=5.0 # Fill transparent areas with white GET https://media.enad.io/{app_id}/photo.png?fill=%23FFFFFF # Custom crop position GET https://media.enad.io/{app_id}/photo.jpg?width=500&height=500&fit=cover&crop_x=100&crop_y=50 ``` #### Response - **Content-Type**: Varies based on output format - `image/png` - `image/jpeg` - `image/webp` - `image/avif` - **Status Codes**: - `200 OK` - Success - `400 Bad Request` - Invalid parameters - `404 Not Found` - Image not found - `500 Internal Server Error` - Processing error ## Limits - **Dimensions**: Maximum 5000x5000 pixels - **Minimum Dimensions**: At least 1 pixel - **Image Quality**: 0-100 - **Blur Range**: 0.0-100.0 - **URL**: Maximum 16 KB (typical HTTP limit) ## Error Responses All errors return appropriate HTTP status codes with descriptive messages: ### 400 Bad Request Returned when: - Invalid dimensions (outside 1-5000 range) - Invalid fit mode for given dimensions - Invalid format specified - Invalid hex color format - Invalid blur value - Crop offsets exceed image bounds ### 404 Not Found Returned when: - Requested image file doesn't exist in bucket ### 500 Internal Server Error Returned when: - Image processing fails - Internal Server Error --- # Storefront revalidate in Admin Source: https://docs.enad.io/storefront/revalidate/admin When products, categories, or collections change in Enad, storefront caches may still serve stale pages. **Storefront revalidate** delivers updates to registered URLs, enabling Next.js ISR, CDN purges, or custom cache logic on a schedule or on demand. This page covers the **Admin UI**. For the HTTP contract and JSON payload, see [Revalidate](/storefront/revalidate/revalidate) and [Payload](/storefront/revalidate/payload). ## Location in Admin 1. In Enad Admin, open the target app. 2. Navigate to **System** → **Storefront revalidate** (Beta). This page lists and manages all revalidation endpoints for the app. The same view is available from the status popover on individual catalog items (see below). ## Endpoint configuration Select **Create endpoint** and configure: | Field | What it does | | --- | --- | | **URL** | HTTPS endpoint that receives a `POST` with a JSON body when content changes. | | **Channel** | Optional. Limits product payloads to one channel's name, slug, and translations. | | **Interval** | How often Enad tries to deliver pending updates (1 minute to 24 hours; default 15 minutes). | | **Auth header** | Optional. A custom header name and value sent on every request. | Saved endpoints appear in a table with URL, interval, auth status, and next scheduled sync. The row menu supports **edit** and **delete** actions. :::tip In edit mode, leave the auth header value blank to retain the existing secret. ::: ## Status on products, categories, and collections When editing a **product**, **category**, or **collection**, a refresh icon appears in the header actions. The **Storefront revalidation** popover shows status across all configured endpoints for that item: :::note Endpoint status appears only after at least one revalidation event has been recorded for the item. Before that, the list is empty and a notice indicates that no revalidation has run yet. ::: - Each endpoint URL and when revalidation last ran - **Run revalidation** for on-demand sync outside the scheduled interval, for example during troubleshooting or when an update must reach the storefront before the next endpoint sync - A link to **Configure here** when no endpoints are configured {/* ## Permissions | Permission | Allows | | --- | --- | | `integrations.view` | View endpoints and open the status popover | | `integrations.edit` | Create, edit, delete endpoints and run revalidation | */} ## How it fits together ```mermaid flowchart LR A[Catalog change] --> B[Enad marks item dirty] B --> C{Scheduled interval} B --> D[Manual Run revalidation] C --> E[POST to registered URL] D --> E E --> F[Storefront refreshes cache] ``` Enad handles change detection and delivery. The endpoint handler determines what to invalidate: a page path, a CDN tag, or a full rebuild. ## Next steps - [Revalidate overview](/storefront/revalidate/revalidate): scheduling, retries, and URL requirements - [Payload reference](/storefront/revalidate/payload): JSON fields per content type --- # Revalidate payload Source: https://docs.enad.io/storefront/revalidate/payload Each revalidate request contains a single JSON object. The `type` field is a discriminator (`product`, `category`, or `collection`); remaining fields depend on the content type. All UUIDs are serialized as strings. Translation fields are arrays of `{ locale, value }` objects converted from Enad's locale maps. ## Common types ### Translation | Field | Type | Description | |-------|------|-------------| | `locale` | `string` | Locale code (for example `en`, `sv`) | | `value` | `string` | Translated string for that locale | Non-string values in the source locale map are serialized as an empty string. ## Product Sent when a product (or its channel content) changes. ```json { "type": "product", "id": "0195a1b2-c3d4-7890-abcd-ef1234567890", "name": "Base Product", "slug": "base-product", "sku": "SKU-1", "translations_name": [ { "locale": "en", "value": "Base EN" }, { "locale": "sv", "value": "Base SV" } ], "translations_slug": [ { "locale": "en", "value": "base-en" }, { "locale": "sv", "value": "base-sv" } ] } ``` | Field | Type | Description | |-------|------|-------------| | `type` | `"product"` | Content discriminator | | `id` | `string` (UUID) | Product ID | | `name` | `string` | Display name (channel override when endpoint has a channel) | | `slug` | `string` | URL slug (channel override when endpoint has a channel) | | `sku` | `string` | Stock keeping unit (always from base product) | | `translations_name` | `Translation[]` | Localized names | | `translations_slug` | `Translation[]` | Localized slugs | | `changes` | `string[]` (optional) | What changed for this product; see [Changes](/storefront/revalidate/payload#changes) | ### Channel override example When the endpoint is tied to a channel and channel content exists: ```json { "type": "product", "id": "0195a1b2-c3d4-7890-abcd-ef1234567890", "name": "Channel Product", "slug": "channel-product", "sku": "SKU-1", "translations_name": [ { "locale": "en", "value": "Channel Product EN" } ], "translations_slug": [ { "locale": "en", "value": "channel-product-en" } ] } ``` ## Category Sent when a category changes. ```json { "type": "category", "id": "0195a1b2-c3d4-7890-abcd-ef1234567890", "name": "Base Category", "slug": "base-category", "uri": "/base-category", "translations_name": [ { "locale": "en", "value": "Category EN" } ], "translations_slug": [ { "locale": "en", "value": "category-en" } ], "translations_uri": [ { "locale": "en", "value": "/category-en" } ] } ``` | Field | Type | Description | |-------|------|-------------| | `type` | `"category"` | Content discriminator | | `id` | `string` (UUID) | Category ID | | `name` | `string` | Display name | | `slug` | `string` | URL slug | | `uri` | `string` | Canonical path or URI | | `translations_name` | `Translation[]` | Localized names | | `translations_slug` | `Translation[]` | Localized slugs | | `translations_uri` | `Translation[]` | Localized URIs | | `changes` | `string[]` (optional) | What changed for this category; see [Changes](/storefront/revalidate/payload#changes) | ## Collection Sent when a collection changes. ```json { "type": "collection", "id": "0195a1b2-c3d4-7890-abcd-ef1234567890", "name": "Base Collection", "slug": "base-collection", "uri": "/base-collection", "translations_name": [ { "locale": "en", "value": "Collection EN" } ], "translations_slug": [ { "locale": "en", "value": "collection-en" } ], "translations_uri": [ { "locale": "en", "value": "/collection-en" } ] } ``` | Field | Type | Description | |-------|------|-------------| | `type` | `"collection"` | Content discriminator | | `id` | `string` (UUID) | Collection ID | | `name` | `string` | Display name | | `slug` | `string` | URL slug | | `uri` | `string` | Canonical path or URI | | `translations_name` | `Translation[]` | Localized names | | `translations_slug` | `Translation[]` | Localized slugs | | `translations_uri` | `Translation[]` | Localized URIs | | `changes` | `string[]` (optional) | What changed for this collection; see [Changes](/storefront/revalidate/payload#changes) | ## Changes Every payload type — product, category, and collection, including deletions — carries an optional `changes` array listing what changed for that item. Use it to invalidate only the pages whose data actually changed instead of treating every event as a full invalidation. ```json { "type": "product", "id": "01953c1a-2f3e-7f10-a1b2-c3d4e5f60718", "name": "Sorling", "slug": "sorling", "sku": "SKU-1", "changes": ["translations_name.sv", "translations_slug.sv"], "translations_name": [{ "locale": "sv", "value": "Sorling" }], "translations_slug": [{ "locale": "sv", "value": "sorling" }] } ``` ### Tokens Tokens are payload field names where the payload has one: `name`, `slug`, `sku`, and `uri`. Translation tokens are per field and per locale, joined with a dot: `translations_name.sv`, `translations_slug.fi`, `translations_name.en-gb`. There is one token per locale per field, so updating the Swedish and Finnish name translations queues `["translations_name.fi", "translations_name.sv"]`. Events that carry no locale information emit the plain tokens `translations_name` and `translations_slug`, meaning all locales. Only `translations_delete` events do this, since they carry translation IDs but no locale. Changes that don't map to a payload field use semantic tokens: `prices`, `stock`, `images`, `videos`, `files`, `tags`, `attributes`, `variant_groups`, `categories`, `collections`, `products`. Deletions send `["deleted"]`. Manual revalidations triggered from Enad's internal tooling send `["all"]`. ### Accumulation The list accumulates every change since the last delivery. If the same field changes several times before the event is sent, it appears once; distinct fields queue up together. After the event is sent, the list is cleared, so each event only carries changes the storefront has not seen yet. ### Missing `changes` The field is omitted when nothing is known — for example content queued before this change deployed. Treat a payload without `changes` as a full invalidation. ## Batch delivery When multiple items are pending for the same endpoint, Enad sends **one HTTP request per item**, not a batch array. Requests may arrive concurrently. The endpoint should be idempotent per `type` + `id`. --- # Revalidate Source: https://docs.enad.io/storefront/revalidate/revalidate ## Overview Revalidate notifies connected frontends when catalog content changes. Enad tracks which products, categories, and collections are out of date for each registered endpoint, then sends a JSON payload to the registered URL so cached pages can be refreshed, static paths rebuilt, or a CDN invalidated. Typical use cases: - On-demand ISR or static regeneration in Next.js, Nuxt, or similar frameworks - Purging or warming CDN cache entries for product and category URLs - Keeping headless storefronts in sync without polling Enad ## How it works ```mermaid sequenceDiagram participant Enad as Enad (catalog events) participant Scheduler as Scheduler participant Endpoint as Registered revalidate URL Enad->>Enad: Content changes (product, category, collection) Enad->>Enad: Mark content as need_sync for all app endpoints Scheduler->>Enad: Poll endpoints due for sync (every interval) Scheduler->>Enad: Load dirty content IDs and build payloads Scheduler->>Endpoint: POST one JSON body per content item Endpoint-->>Scheduler: 2xx response Scheduler->>Enad: Mark item synced (need_sync = false) ``` 1. **Registration**: One or more revalidate endpoints are configured for the app (URL, optional auth header, optional channel, sync interval). 2. **Change detection**: When a product, category, or collection is created or updated in Enad, it is marked as needing sync for every endpoint on that app. Channel-specific product content changes also mark the parent product. 3. **Scheduling**: A background scheduler runs every second. Endpoints whose `next_sync_at` has passed are picked up and their next run is rescheduled by `interval_minutes`. 4. **Delivery**: For each dirty item, Enad sends a separate `POST` request to the registered URL with a typed JSON body. Items are sent concurrently. 5. **Acknowledgement**: A successful response (`2xx`) clears `need_sync` for that item and records `last_sync_at`. Failed items stay dirty and are retried on the next sync cycle for that endpoint. Content can also be marked for revalidation manually via the Management API, and sync status is available per endpoint. ## Register an endpoint Register revalidate endpoints in Enad Admin under **System** → **Storefront revalidate**. See [Storefront revalidate in Admin](/storefront/revalidate/admin) for the full UI walkthrough. Each endpoint needs: - **URL**: HTTPS endpoint that accepts `POST` requests with a JSON body. - **Authentication** (optional): Custom header name and value sent on every request. - **Channel** (optional): When set, product payloads use channel-specific name, slug, and translations instead of the base product fields. - **Interval**: How often Enad attempts to deliver pending updates for this endpoint (default: 15 minutes). Each app can have multiple endpoints (for example, one per storefront or environment). ## HTTP request Enad calls the registered endpoint with the following contract. | Property | Value | |----------|-------| | Method | `POST` | | Content-Type | `application/json` | | Body | One content object per request (see [Payload](/storefront/revalidate/payload)) | | Success | Any `2xx` status code | | Failure | Any non-`2xx` status code. The item remains pending and will be retried | ### Timeouts | Phase | Limit | |-------|-------| | Connect | 5 seconds | | Total request | 30 seconds | Redirects are not followed. ### Authentication When authentication is enabled on an endpoint, Enad adds a single custom header to every request. The header name and value are configured on the integration (for example `Authorization: Bearer ` or `x-api-key: `). The handler should validate this header before processing the payload. ### URL requirements For security, Enad only delivers to public HTTPS URLs. The following are rejected: - Non-HTTPS schemes (`http://`, etc.) - Credentials in the URL (`https://user:pass@example.com/...`) - `localhost` and hostnames ending in `.localhost`, `.local`, or `.internal` - Private, loopback, link-local, and carrier-grade NAT IP addresses (including when resolved from a hostname) Production requires a publicly reachable HTTPS URL. Local development requires a tunnel (for example ngrok or Cloudflare Tunnel).