Skip to main content
POST
You can create or update categories in bulk by name. If a category with the same name already exists in the same store and branch, it is updated; otherwise, it is created.
app_id
string
required
Your store ID in Jelou Shop.
resources
object[]
required
List of categories to create or update (max. 500 per request).
The branch must be created before assigning it to a category. Use the Create branches endpoint to register it first.

Behavior

The endpoint returns 202 Accepted immediately. Categories are processed in the background.
Categories are identified by their name within the same store and branch. If one with that name already exists, it is updated instead of creating a new one.
If the branch code does not match any branch in the store, the category is created without an assigned branch.
If an image URL is provided, it is downloaded and stored in the background after the category is created. The URL must be public; private/internal URLs are rejected.
Use parent_id to nest categories. The parent must exist in the same store before the batch is processed. To build a new hierarchy, create the parent categories first, then send the children referencing their parent_id.
When order is greater than 0, it must be unique within the same level (app + parent category + branch). If two categories in the same batch share an order at the same level, or it clashes with an existing category, the request fails with 422. An order of 0 or null is treated as “unordered” and skips the uniqueness check.

Validation errors

Limits

  • Maximum 500 categories per request.
  • Total categories per store limit (configurable; defaults to 500). If the batch exceeds the remaining limit, the request fails with 422.
  • All categories are validated before processing.
Replace {app_id} with your store ID and YOUR_API_KEY with your API key.