v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Operation for POST /v2/product/attributes

Endpoint for POST /v2/product/attributes

post/v2/product/attributes

Request body

Example request

[
  {
    "": [
      {
        "code": "attr125",
        "name": "attr125",
        "type": "String"
      },
      {
        "ouCode": "zone1concept2",
        "code": "attr124",
        "name": "attr124",
        "type": "Int"
      }
    ]
  }
]

Response

Successful operation (default from cURL)

warningsstring[]
errorsstring[]

Example response

{
  "created": [
    {
      "id": 1069853,
      "ouId": 50022271,
      "code": "attr124"
    }
  ],
  "summary": {
    "totalRequested": 2,
    "successCount": 2
  },
  "warnings": [],
  "errors": []
}