Body
-
Minimum length is
1
.
curl \
--request PATCH 'https://demo.api.fygi.store/external/api/products' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '[{"id":"string","storeId":{"value":"string"},"name":{"value":"string"},"description":{"value":"string"},"handle":{"value":"string"},"vendor":{"value":"string"},"active":{"value":true},"isNotDiscountable":{"value":true},"ageGroupId":{"value":"string"},"relatedProductIds":{"value":["string"]},"imageUrls":{"value":["string"]},"categoryIds":{"value":["string"]},"dimensions":{"value":[{"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":{"value":[{"name":"string","sortIndex":42,"values":["string"]}]}}]'
curl \
--request PATCH 'https://demo.api.fygi.store/external/api/products' \
--header "authorization: $API_KEY" \
--header "Content-Type: text/json"
curl \
--request PATCH 'https://demo.api.fygi.store/external/api/products' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/*+json"
[
{
"id": "string",
"storeId": {
"value": "string"
},
"name": {
"value": "string"
},
"description": {
"value": "string"
},
"handle": {
"value": "string"
},
"vendor": {
"value": "string"
},
"active": {
"value": true
},
"isNotDiscountable": {
"value": true
},
"ageGroupId": {
"value": "string"
},
"relatedProductIds": {
"value": [
"string"
]
},
"imageUrls": {
"value": [
"string"
]
},
"categoryIds": {
"value": [
"string"
]
},
"dimensions": {
"value": [
{
"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": {
"value": [
{
"name": "string",
"sortIndex": 42,
"values": [
"string"
]
}
]
}
}
]
[
{
"id": "string",
"storeId": {
"value": "string"
},
"name": {
"value": "string"
},
"description": {
"value": "string"
},
"handle": {
"value": "string"
},
"vendor": {
"value": "string"
},
"active": {
"value": true
},
"isNotDiscountable": {
"value": true
},
"ageGroupId": {
"value": "string"
},
"relatedProductIds": {
"value": [
"string"
]
},
"imageUrls": {
"value": [
"string"
]
},
"categoryIds": {
"value": [
"string"
]
},
"dimensions": {
"value": [
{
"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": {
"value": [
{
"name": "string",
"sortIndex": 42,
"values": [
"string"
]
}
]
}
}
]
[
{
"id": "string",
"storeId": {
"value": "string"
},
"name": {
"value": "string"
},
"description": {
"value": "string"
},
"handle": {
"value": "string"
},
"vendor": {
"value": "string"
},
"active": {
"value": true
},
"isNotDiscountable": {
"value": true
},
"ageGroupId": {
"value": "string"
},
"relatedProductIds": {
"value": [
"string"
]
},
"imageUrls": {
"value": [
"string"
]
},
"categoryIds": {
"value": [
"string"
]
},
"dimensions": {
"value": [
{
"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": {
"value": [
{
"name": "string",
"sortIndex": 42,
"values": [
"string"
]
}
]
}
}
]