POST
/
v1
/
products
Create products
curl --request POST \
  --url https://api.sandbox.usenash.com/v1/products \
  --header 'Content-Type: application/json' \
  --data '{
  "products": [
    {
      "externalId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "imageUrls": [
        "<string>"
      ],
      "categories": [
        "<string>"
      ],
      "weight": 123,
      "dimensions": {
        "depth": 123,
        "width": 123,
        "height": 123
      },
      "identifiers": [
        {
          "type": "<string>",
          "value": "<string>"
        }
      ],
      "attributes": [
        "<string>"
      ]
    }
  ]
}'
[
  {
    "id": "<string>",
    "externalid": "<string>",
    "name": "<string>",
    "description": "<string>",
    "imageurls": [
      "<string>"
    ],
    "categories": [
      "<string>"
    ],
    "weight": 123,
    "dimensions": {
      "depth": 123,
      "width": 123,
      "height": 123
    },
    "identifiers": [
      {
        "type": "<string>",
        "value": "<string>"
      }
    ],
    "attributes": [
      "<string>"
    ]
  }
]

Body

application/json

Response

200
application/json

OK

Expected output when listing products, it will return an array of ProductOutputSerializer.