Create Update Batch Category

Create categories in batch

Options

Body
Values to create a batch of categories

Request body which must comply to the following JSON Schema:

{
  "required" : [ "categories" ],
  "type" : "object",
  "properties" : {
    "categories" : {
      "type" : "array",
      "description" : "array of categories objects",
      "items" : {
        "required" : [ "id" ],
        "type" : "object",
        "properties" : {
          "id" : {
            "type" : "string",
            "description" : "Unique Category ID as saved in the shop\n",
            "format" : "email",
            "example" : "CAT123"
          },
          "name" : {
            "type" : "string",
            "description" : "**Mandatory in case of creation**. Name of the Category, as displayed in the shop\n",
            "example" : "Electronics"
          },
          "url" : {
            "type" : "string",
            "description" : "URL to the category",
            "example" : "http://mydomain.com/category/electronics"
          },
          "deletedAt" : {
            "type" : "string",
            "description" : "UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the category deleted from the shop's database",
            "example" : "2017-05-12T12:30:00Z"
          },
          "isDeleted" : {
            "type" : "boolean",
            "description" : "category deleted from the shop's database",
            "example" : true
          }
        }
      }
    },
    "updateEnabled" : {
      "type" : "boolean",
      "description" : "Facilitate to update the existing categories in the same request (updateEnabled = true)"
    }
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.