younifyd
Menu

Update product master categories

Update product master categories

PUT/products/{productIdentifier}/master-categories

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update product master categories action (under MasterCategories).
  3. Fill in the fields below, then reference the result from later steps as {{updateProductMasterCategories.response.data}}.

Request

Path parameters

productIdentifieroneOfrequired

Product ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Query parameters

ignoreCategoryLocksboolean

If set to true, then even locked product categories get updated.

Default false

Request body

Enter the body as JSON in the step's Body field.

isLockedboolean

Specifies if the product categories were locked via the SCAYLE Panel.

pathsarray<array<string>>required

The master category paths.

json
{
  "paths": [
    [
      [
        "Fashion",
        "Men",
        "Shirts"
      ]
    ]
  ],
  "isLocked": false
}

Response

Returns 200 with an object. Read it in later steps with {{updateProductMasterCategories.response.data.<field>}}.

entitiesarray<object>
isLockedboolean

Specifies if the product categories were locked via the SCAYLE Panel.

pathsarray<array<string>>required

The master category paths.

json
{
  "entities": [
    {
      "paths": [
        [
          [
            "Fashion",
            "Men",
            "Shirts"
          ]
        ]
      ],
      "isLocked": false
    }
  ]
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Update product master categories — SCAYLE Admin — Documentation