Body

Body

Body

PATCH /external/api/stores
curl \
 -X PATCH https://api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"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 \
 -X PATCH https://api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X PATCH https://api.fygi.store/external/api/stores \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/*+json"
Request examples
[
  {
    "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"
      ]
    }
  }
]
Request examples
[
  {
    "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"
      ]
    }
  }
]
Request examples
[
  {
    "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"
      ]
    }
  }
]