Body

Body

Body

PUT /external/api/stores
curl \
 -X PUT http://test.api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"id":"string","title":"string","handle":"string","subTitle":"string","relatedProductsTitle":"string","active":true,"latitude":42.0,"longitude":42.0,"address":"string","postalCode":"string","city":"string","logoImage":"string","enterMessage":{"message":"string","active":true},"exitMessage":{"message":"string","active":true},"checkoutMessage":{"message":"string","active":true},"theme":{"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":"string","cultureName":"string","legalIdentifier":"string","customerServiceEmail":"string","selfCheckoutThresholdAmount":42,"selfCheckoutPercent":42,"adjustmentTypes":["string"]}]'
curl \
 -X PUT http://test.api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X PUT http://test.api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/*+json"
Request examples
[
  {
    "id": "string",
    "title": "string",
    "handle": "string",
    "subTitle": "string",
    "relatedProductsTitle": "string",
    "active": true,
    "latitude": 42.0,
    "longitude": 42.0,
    "address": "string",
    "postalCode": "string",
    "city": "string",
    "logoImage": "string",
    "enterMessage": {
      "message": "string",
      "active": true
    },
    "exitMessage": {
      "message": "string",
      "active": true
    },
    "checkoutMessage": {
      "message": "string",
      "active": true
    },
    "theme": {
      "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": "string",
    "cultureName": "string",
    "legalIdentifier": "string",
    "customerServiceEmail": "string",
    "selfCheckoutThresholdAmount": 42,
    "selfCheckoutPercent": 42,
    "adjustmentTypes": [
      "string"
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "title": "string",
    "handle": "string",
    "subTitle": "string",
    "relatedProductsTitle": "string",
    "active": true,
    "latitude": 42.0,
    "longitude": 42.0,
    "address": "string",
    "postalCode": "string",
    "city": "string",
    "logoImage": "string",
    "enterMessage": {
      "message": "string",
      "active": true
    },
    "exitMessage": {
      "message": "string",
      "active": true
    },
    "checkoutMessage": {
      "message": "string",
      "active": true
    },
    "theme": {
      "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": "string",
    "cultureName": "string",
    "legalIdentifier": "string",
    "customerServiceEmail": "string",
    "selfCheckoutThresholdAmount": 42,
    "selfCheckoutPercent": 42,
    "adjustmentTypes": [
      "string"
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "title": "string",
    "handle": "string",
    "subTitle": "string",
    "relatedProductsTitle": "string",
    "active": true,
    "latitude": 42.0,
    "longitude": 42.0,
    "address": "string",
    "postalCode": "string",
    "city": "string",
    "logoImage": "string",
    "enterMessage": {
      "message": "string",
      "active": true
    },
    "exitMessage": {
      "message": "string",
      "active": true
    },
    "checkoutMessage": {
      "message": "string",
      "active": true
    },
    "theme": {
      "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": "string",
    "cultureName": "string",
    "legalIdentifier": "string",
    "customerServiceEmail": "string",
    "selfCheckoutThresholdAmount": 42,
    "selfCheckoutPercent": 42,
    "adjustmentTypes": [
      "string"
    ]
  }
]