Body

Body

Body

PUT /external/api/products
curl \
 -X PUT http://test.api.fygi.store/external/api/products \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"id":"string","storeId":"string","active":true,"name":"string","description":"string","handle":"string","vendor":"string","isShoppingBag":true,"isVending":true,"isWeight":true,"isNotDiscountable":true,"ageGroupId":"string","relatedProductIds":["string"],"images":[{"externalId":"string","url":"string"}],"categoryIds":["string"],"dimensions":[{"name":"string","articleNumber":"string","barcode":"string","externalId":"string","sortIndex":42,"requiredDimensionId":"string","productOption1Value":"string","productOption2Value":"string","productOption3Value":"string","prices":[{"currencyCode":"string","amount":42,"taxPercent":42,"adjustmentType":"string"}],"availability":{"count":42}}],"options":[{"name":"string","sortIndex":42,"values":["string"]}]}]'
curl \
 -X PUT http://test.api.fygi.store/external/api/products \
 -H "authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X PUT http://test.api.fygi.store/external/api/products \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/*+json"
Request examples
[
  {
    "id": "string",
    "storeId": "string",
    "active": true,
    "name": "string",
    "description": "string",
    "handle": "string",
    "vendor": "string",
    "isShoppingBag": true,
    "isVending": true,
    "isWeight": true,
    "isNotDiscountable": true,
    "ageGroupId": "string",
    "relatedProductIds": [
      "string"
    ],
    "images": [
      {
        "externalId": "string",
        "url": "string"
      }
    ],
    "categoryIds": [
      "string"
    ],
    "dimensions": [
      {
        "name": "string",
        "articleNumber": "string",
        "barcode": "string",
        "externalId": "string",
        "sortIndex": 42,
        "requiredDimensionId": "string",
        "productOption1Value": "string",
        "productOption2Value": "string",
        "productOption3Value": "string",
        "prices": [
          {
            "currencyCode": "string",
            "amount": 42,
            "taxPercent": 42,
            "adjustmentType": "string"
          }
        ],
        "availability": {
          "count": 42
        }
      }
    ],
    "options": [
      {
        "name": "string",
        "sortIndex": 42,
        "values": [
          "string"
        ]
      }
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "storeId": "string",
    "active": true,
    "name": "string",
    "description": "string",
    "handle": "string",
    "vendor": "string",
    "isShoppingBag": true,
    "isVending": true,
    "isWeight": true,
    "isNotDiscountable": true,
    "ageGroupId": "string",
    "relatedProductIds": [
      "string"
    ],
    "images": [
      {
        "externalId": "string",
        "url": "string"
      }
    ],
    "categoryIds": [
      "string"
    ],
    "dimensions": [
      {
        "name": "string",
        "articleNumber": "string",
        "barcode": "string",
        "externalId": "string",
        "sortIndex": 42,
        "requiredDimensionId": "string",
        "productOption1Value": "string",
        "productOption2Value": "string",
        "productOption3Value": "string",
        "prices": [
          {
            "currencyCode": "string",
            "amount": 42,
            "taxPercent": 42,
            "adjustmentType": "string"
          }
        ],
        "availability": {
          "count": 42
        }
      }
    ],
    "options": [
      {
        "name": "string",
        "sortIndex": 42,
        "values": [
          "string"
        ]
      }
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "storeId": "string",
    "active": true,
    "name": "string",
    "description": "string",
    "handle": "string",
    "vendor": "string",
    "isShoppingBag": true,
    "isVending": true,
    "isWeight": true,
    "isNotDiscountable": true,
    "ageGroupId": "string",
    "relatedProductIds": [
      "string"
    ],
    "images": [
      {
        "externalId": "string",
        "url": "string"
      }
    ],
    "categoryIds": [
      "string"
    ],
    "dimensions": [
      {
        "name": "string",
        "articleNumber": "string",
        "barcode": "string",
        "externalId": "string",
        "sortIndex": 42,
        "requiredDimensionId": "string",
        "productOption1Value": "string",
        "productOption2Value": "string",
        "productOption3Value": "string",
        "prices": [
          {
            "currencyCode": "string",
            "amount": 42,
            "taxPercent": 42,
            "adjustmentType": "string"
          }
        ],
        "availability": {
          "count": 42
        }
      }
    ],
    "options": [
      {
        "name": "string",
        "sortIndex": 42,
        "values": [
          "string"
        ]
      }
    ]
  }
]