Product Groups

The Product Groups Import Endpoint

https://{BASE_URL}/imports/product_groups

All import integration endpoints use the same authentication parameters, please see Authentication page for more details.

Like the Product Import, this endpoint uses Import Queues to handle all imported data.

You may post any amount of Product Groups to the endpoint. Existing product groups are overwritten based on their id.

[
    {
        "group": "dairy",
        "name": { "da": "Mælkeprodukter", "en": "Dairy" }
    },
    {
        "group": "misc",
        "name": "Misc."
    },
    ...
]

The name is an L10nString and may thus be supplied with or without localizations.

Shared Integration Queue Parameters

For all integration queue import endpoints, you need to specify account, integration and apikey. Please read the Import Queues below for details about these parameters.

https://{BASE_URL}/imports/product_groups?account=[ACCOUNT ID]&integration=[INTEGRATION QUEUE ID]&apikey=[INTEGRATION QUEUE API KEY]

Deleting Product Groups

Send an HTTP DELETE request to the endpoint with a body containing a JSON array of Product Group ids.

[
  "dairy", "misc"
]