Body
-
Minimum length is
1
.
curl \
--request PATCH 'http://test.api.fygi.store/external/api/stores' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '[{"id":"string","title":{"value":"string"},"subTitle":{"value":"string"},"handle":{"value":"string"},"relatedProductsTitle":{"value":"string"},"active":{"value":true},"latitude":{"value":42.0},"longitude":{"value":42.0},"address":{"value":"string"},"postalCode":{"value":"string"},"city":{"value":"string"},"logoImage":{"value":"string"},"enterMessage":{"value":{"message":"string","active":true}},"exitMessage":{"value":{"message":"string","active":true}},"checkoutMessage":{"value":{"message":"string","active":true}},"theme":{"value":{"title":"string","background":"string","backgroundSpecial":"string","foreground":"string","foregroundSpecial":"string","foregroundPositive":"string","foregroundNegative":"string","actionBackground":"string","actionForeground":"string","actionBackground2":"string","actionForeground2":"string","price":"string","payBackground":"string","payForeground":"string","headerForeground":"string","headerBackground":"string"}},"currencyCode":{"value":"string"},"cultureName":{"value":"string"},"legalIdentifier":{"value":"string"},"customerServiceEmail":{"value":"string"},"selfCheckoutThresholdAmount":{"value":42},"selfCheckoutPercent":{"value":42},"adjustmentTypes":{"value":["string"]}}]'
curl \
--request PATCH 'http://test.api.fygi.store/external/api/stores' \
--header "authorization: $API_KEY" \
--header "Content-Type: text/json"
curl \
--request PATCH 'http://test.api.fygi.store/external/api/stores' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/*+json"
[
{
"id": "string",
"title": {
"value": "string"
},
"subTitle": {
"value": "string"
},
"handle": {
"value": "string"
},
"relatedProductsTitle": {
"value": "string"
},
"active": {
"value": true
},
"latitude": {
"value": 42.0
},
"longitude": {
"value": 42.0
},
"address": {
"value": "string"
},
"postalCode": {
"value": "string"
},
"city": {
"value": "string"
},
"logoImage": {
"value": "string"
},
"enterMessage": {
"value": {
"message": "string",
"active": true
}
},
"exitMessage": {
"value": {
"message": "string",
"active": true
}
},
"checkoutMessage": {
"value": {
"message": "string",
"active": true
}
},
"theme": {
"value": {
"title": "string",
"background": "string",
"backgroundSpecial": "string",
"foreground": "string",
"foregroundSpecial": "string",
"foregroundPositive": "string",
"foregroundNegative": "string",
"actionBackground": "string",
"actionForeground": "string",
"actionBackground2": "string",
"actionForeground2": "string",
"price": "string",
"payBackground": "string",
"payForeground": "string",
"headerForeground": "string",
"headerBackground": "string"
}
},
"currencyCode": {
"value": "string"
},
"cultureName": {
"value": "string"
},
"legalIdentifier": {
"value": "string"
},
"customerServiceEmail": {
"value": "string"
},
"selfCheckoutThresholdAmount": {
"value": 42
},
"selfCheckoutPercent": {
"value": 42
},
"adjustmentTypes": {
"value": [
"string"
]
}
}
]
[
{
"id": "string",
"title": {
"value": "string"
},
"subTitle": {
"value": "string"
},
"handle": {
"value": "string"
},
"relatedProductsTitle": {
"value": "string"
},
"active": {
"value": true
},
"latitude": {
"value": 42.0
},
"longitude": {
"value": 42.0
},
"address": {
"value": "string"
},
"postalCode": {
"value": "string"
},
"city": {
"value": "string"
},
"logoImage": {
"value": "string"
},
"enterMessage": {
"value": {
"message": "string",
"active": true
}
},
"exitMessage": {
"value": {
"message": "string",
"active": true
}
},
"checkoutMessage": {
"value": {
"message": "string",
"active": true
}
},
"theme": {
"value": {
"title": "string",
"background": "string",
"backgroundSpecial": "string",
"foreground": "string",
"foregroundSpecial": "string",
"foregroundPositive": "string",
"foregroundNegative": "string",
"actionBackground": "string",
"actionForeground": "string",
"actionBackground2": "string",
"actionForeground2": "string",
"price": "string",
"payBackground": "string",
"payForeground": "string",
"headerForeground": "string",
"headerBackground": "string"
}
},
"currencyCode": {
"value": "string"
},
"cultureName": {
"value": "string"
},
"legalIdentifier": {
"value": "string"
},
"customerServiceEmail": {
"value": "string"
},
"selfCheckoutThresholdAmount": {
"value": 42
},
"selfCheckoutPercent": {
"value": 42
},
"adjustmentTypes": {
"value": [
"string"
]
}
}
]
[
{
"id": "string",
"title": {
"value": "string"
},
"subTitle": {
"value": "string"
},
"handle": {
"value": "string"
},
"relatedProductsTitle": {
"value": "string"
},
"active": {
"value": true
},
"latitude": {
"value": 42.0
},
"longitude": {
"value": 42.0
},
"address": {
"value": "string"
},
"postalCode": {
"value": "string"
},
"city": {
"value": "string"
},
"logoImage": {
"value": "string"
},
"enterMessage": {
"value": {
"message": "string",
"active": true
}
},
"exitMessage": {
"value": {
"message": "string",
"active": true
}
},
"checkoutMessage": {
"value": {
"message": "string",
"active": true
}
},
"theme": {
"value": {
"title": "string",
"background": "string",
"backgroundSpecial": "string",
"foreground": "string",
"foregroundSpecial": "string",
"foregroundPositive": "string",
"foregroundNegative": "string",
"actionBackground": "string",
"actionForeground": "string",
"actionBackground2": "string",
"actionForeground2": "string",
"price": "string",
"payBackground": "string",
"payForeground": "string",
"headerForeground": "string",
"headerBackground": "string"
}
},
"currencyCode": {
"value": "string"
},
"cultureName": {
"value": "string"
},
"legalIdentifier": {
"value": "string"
},
"customerServiceEmail": {
"value": "string"
},
"selfCheckoutThresholdAmount": {
"value": 42
},
"selfCheckoutPercent": {
"value": 42
},
"adjustmentTypes": {
"value": [
"string"
]
}
}
]