Post v1 winkelstraat catalog product

POST /V1/winkelstraat/catalog/product

Body

  • products array[object] Required
    Hide products attributes Show products attributes object
    • categories array[string]
    • images array[object]
      Hide images attributes Show images attributes object
      • code string Required
      • hash string Required
      • mime_type string Required
      • size integer Required
      • url string Required
    • uuid string Required
    • children array[object] Required
    • type string Required
    • attributes array[object] Required
      Hide attributes attributes Show attributes attributes object
      • key string Required
      • value string Required

Responses

  • 401

    401 Unauthorized

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

  • default

    Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

POST /V1/winkelstraat/catalog/product
curl \
 --request POST 'https://magento2.winkelstraat.mac/rest/all/V1/winkelstraat/catalog/product' \
 --data '{"products":[{"categories":["string"],"images":[{"code":"string","hash":"string","mime_type":"string","size":42,"url":"string"}],"uuid":"string","children":[{}],"type":"string","attributes":[{"key":"string","value":"string"}]}]}'
Request examples
{
  "products": [
    {
      "categories": [
        "string"
      ],
      "images": [
        {
          "code": "string",
          "hash": "string",
          "mime_type": "string",
          "size": 42,
          "url": "string"
        }
      ],
      "uuid": "string",
      "children": [
        {}
      ],
      "type": "string",
      "attributes": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    }
  ]
}
Response examples (401)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}