Brand
Macros
Update Macro Data

Update Macro Data

PUT endpoint for /brand/macros/update-macro-data in brand category

Overview

  • Method: PUT
  • Path: /brand/macros/update-macro-data
  • Tags: brand

Parameters

No parameters required.

Request Body

  • Content Type: application/json
  • Required: Yes
  • Schema: Defined

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "macro": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "macro",
    "name",
    "data"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X PUT \
  http://localhost:9000/brand/macros/update-macro-data \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).