PUT /external/api/stores

PUT /external/api/stores

Body

  • id string Required

    Minimum length is 1.

  • title string Required

    Minimum length is 1.

  • handle string Required

    Minimum length is 1.

  • subTitle string | null
  • relatedProductsTitle string | null
  • active boolean
  • latitude number(double) Required
  • longitude number(double) Required
  • address string Required

    Minimum length is 1.

  • postalCode string Required

    Minimum length is 1.

  • city string Required

    Minimum length is 1.

  • logoImage string(uuid) | null
  • enterMessage object
    Hide enterMessage attributes Show enterMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • exitMessage object
    Hide exitMessage attributes Show exitMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • checkoutMessage object
    Hide checkoutMessage attributes Show checkoutMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • theme object
    Hide theme attributes Show theme attributes object
    • title string Required

      Minimum length is 1.

    • background string Required

      Minimum length is 1.

    • backgroundSpecial string Required

      Minimum length is 1.

    • foreground string Required

      Minimum length is 1.

    • foregroundSpecial string Required

      Minimum length is 1.

    • foregroundPositive string Required

      Minimum length is 1.

    • foregroundNegative string Required

      Minimum length is 1.

    • actionBackground string Required

      Minimum length is 1.

    • actionForeground string Required

      Minimum length is 1.

    • actionBackground2 string Required

      Minimum length is 1.

    • actionForeground2 string Required

      Minimum length is 1.

    • price string Required

      Minimum length is 1.

    • payBackground string Required

      Minimum length is 1.

    • payForeground string Required

      Minimum length is 1.

    • headerForeground string Required

      Minimum length is 1.

    • headerBackground string Required

      Minimum length is 1.

    • Additional properties are NOT allowed
  • currencyCode string Required

    Minimum length is 1.

  • cultureName string Required

    Minimum length is 1.

  • legalIdentifier string Required

    Minimum length is 1.

  • customerServiceEmail string Required

    Minimum length is 1.

  • selfCheckoutThresholdAmount integer(int32) | null
  • selfCheckoutPercent integer(int32) | null
  • adjustmentTypes array[string(uuid)] | null
  • Additional properties are NOT allowed

Body

  • id string Required

    Minimum length is 1.

  • title string Required

    Minimum length is 1.

  • handle string Required

    Minimum length is 1.

  • subTitle string | null
  • relatedProductsTitle string | null
  • active boolean
  • latitude number(double) Required
  • longitude number(double) Required
  • address string Required

    Minimum length is 1.

  • postalCode string Required

    Minimum length is 1.

  • city string Required

    Minimum length is 1.

  • logoImage string(uuid) | null
  • enterMessage object
    Hide enterMessage attributes Show enterMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • exitMessage object
    Hide exitMessage attributes Show exitMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • checkoutMessage object
    Hide checkoutMessage attributes Show checkoutMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • theme object
    Hide theme attributes Show theme attributes object
    • title string Required

      Minimum length is 1.

    • background string Required

      Minimum length is 1.

    • backgroundSpecial string Required

      Minimum length is 1.

    • foreground string Required

      Minimum length is 1.

    • foregroundSpecial string Required

      Minimum length is 1.

    • foregroundPositive string Required

      Minimum length is 1.

    • foregroundNegative string Required

      Minimum length is 1.

    • actionBackground string Required

      Minimum length is 1.

    • actionForeground string Required

      Minimum length is 1.

    • actionBackground2 string Required

      Minimum length is 1.

    • actionForeground2 string Required

      Minimum length is 1.

    • price string Required

      Minimum length is 1.

    • payBackground string Required

      Minimum length is 1.

    • payForeground string Required

      Minimum length is 1.

    • headerForeground string Required

      Minimum length is 1.

    • headerBackground string Required

      Minimum length is 1.

    • Additional properties are NOT allowed
  • currencyCode string Required

    Minimum length is 1.

  • cultureName string Required

    Minimum length is 1.

  • legalIdentifier string Required

    Minimum length is 1.

  • customerServiceEmail string Required

    Minimum length is 1.

  • selfCheckoutThresholdAmount integer(int32) | null
  • selfCheckoutPercent integer(int32) | null
  • adjustmentTypes array[string(uuid)] | null
  • Additional properties are NOT allowed

Body

  • id string Required

    Minimum length is 1.

  • title string Required

    Minimum length is 1.

  • handle string Required

    Minimum length is 1.

  • subTitle string | null
  • relatedProductsTitle string | null
  • active boolean
  • latitude number(double) Required
  • longitude number(double) Required
  • address string Required

    Minimum length is 1.

  • postalCode string Required

    Minimum length is 1.

  • city string Required

    Minimum length is 1.

  • logoImage string(uuid) | null
  • enterMessage object
    Hide enterMessage attributes Show enterMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • exitMessage object
    Hide exitMessage attributes Show exitMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • checkoutMessage object
    Hide checkoutMessage attributes Show checkoutMessage attributes object
    • message string | null
    • active boolean
    • Additional properties are NOT allowed
  • theme object
    Hide theme attributes Show theme attributes object
    • title string Required

      Minimum length is 1.

    • background string Required

      Minimum length is 1.

    • backgroundSpecial string Required

      Minimum length is 1.

    • foreground string Required

      Minimum length is 1.

    • foregroundSpecial string Required

      Minimum length is 1.

    • foregroundPositive string Required

      Minimum length is 1.

    • foregroundNegative string Required

      Minimum length is 1.

    • actionBackground string Required

      Minimum length is 1.

    • actionForeground string Required

      Minimum length is 1.

    • actionBackground2 string Required

      Minimum length is 1.

    • actionForeground2 string Required

      Minimum length is 1.

    • price string Required

      Minimum length is 1.

    • payBackground string Required

      Minimum length is 1.

    • payForeground string Required

      Minimum length is 1.

    • headerForeground string Required

      Minimum length is 1.

    • headerBackground string Required

      Minimum length is 1.

    • Additional properties are NOT allowed
  • currencyCode string Required

    Minimum length is 1.

  • cultureName string Required

    Minimum length is 1.

  • legalIdentifier string Required

    Minimum length is 1.

  • customerServiceEmail string Required

    Minimum length is 1.

  • selfCheckoutThresholdAmount integer(int32) | null
  • selfCheckoutPercent integer(int32) | null
  • adjustmentTypes array[string(uuid)] | null
  • Additional properties are NOT allowed

Responses

  • 200

    Success

PUT /external/api/stores
curl \
 --request PUT 'http://test.api.fygi.store/external/api/stores' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"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 \
 --request PUT 'http://test.api.fygi.store/external/api/stores' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'http://test.api.fygi.store/external/api/stores' \
 --header "authorization: $API_KEY" \
 --header "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"
    ]
  }
]