2.3.2.Store Information

Shop information data can only be updated and therefor only PUT is allowed as operation option.

Almost all the fields are optional and can be updated separately but you can also send in the full data and overwrite all existing information Qwindo, but this is not required to do.

As an example you can see the full JSON structure of fields that can be updated.

 
Endpoints:

TEST - https://testapi.fastcheckout.com/api/shop/data
LIVE - https://liveapi.fastcheckout.com/api/shop/data

 
JSON Structure

{
  //optional and if set valid country code iso alpha2 is required (array of values)
  "shipping_countries": [
    "DE",
    "MT"
  ],
  //optional and if set valid country code is alpha2 is required (array of values)
  "allowed_countries": [
    "NL"
  ],
  //optional (json object where keys are valid locale)
  "languages": {
    "en_US": {
      "metdata": {
        //optional string max 128 legnth
        "title": "testtttttt",
        //optional (array of strings) no max length
        "keywords": [
          "Magento",
          "Varien",
          "E-commerce"
        ],
        //optional string max 256 length
        "description": "Default Description"
      },
      //optional valid JSON object
      "description": {
        //optional valid string max length 256
        "short": "short",
        //optional valid string
        "long": "long"
      },
      //optional valid json object
      "usps": {
        //optional and if set need to be array of non empty strings
        "shipping": [
          "Sameday delivery",
          "Bezorging ook in de avond",
          "Bezorging ook op Zondag",
          "Vandoor voor 12:00 besteld, vanavond in huis",
          "Vandaag besteld, morgen in huis"
        ],
        //optional and if set need to be array of non empty strings
        "global": [
          "Alle producten op voorraad",
          "Bestel via Qwindo en krijg 10% korting"
        ],
        //optional and if set need to be array of non empty strings
        "stock": [
          "test stock",
          "voorraad binnen 2 dagen binn"
        ]
      }
    }
  },
  //optional if set array of valid currency iso code
  "allowed_currencies": [
    "EUR",
    "VEF"
  ],
  //optional if set need to be bool
  "stock_updates": true,
  //optional if set need to be bool
  "including_tax": false,
  //optional if set need to be valid string one of (total, unit, row)
  "tax_calculation": "total",
  //optional if set need to be valid json object
  "shipping_tax": {
    //required and valid int number even if is send as string
    "id": "4",
    //required valid string
    "name": "msp-shipping",
    //required valid json object where keys are valid country code in iso alpha2 values as valid float number even if they are send as string
    "rules": {
      "NL": "21.0000",
      "ES": "8.0000"
    }
  },
  //optional valid string one of values (UP, HALF_UP, CEILING, HALF_DOWN, DOWN, HALF_EVEN)
  "rounding_policy": "UP",
  //optional valid bool value
  "require_shipping": true,
  //optional valid url string max length 2000
  "base_url": "http://multisafepay-demo.com/plugingroup/development/magento/testing/",
  //optional valid url string max length 2000
  "order_push_url": "http://multisafepay-demo.com/plugingroup/development/magento/testing/msp/checkout/notification/",
  //optional valid email string max length 256
  "email": "support@example.com",
  //optional valid number value even is is send as string max length 45
  "contact_phone": "005584545885",
  //optional valid string required to full update to be set with housenumber to set proper address update
  "address": "test",
  //optional valid string required to full update to be set with address to set proper address update
  "housenumber": "39c",
  //optional valid string (no zip code validation) max length 45
  "zipcode": "1111 aa",
  //optional valid string max length 128
  "city": "Amsterdam",
  //optional valid string of country code iso alpha2
  "country": "NL",
  //optional valid string max length 128
  "vat_nr": "nlb01234555",
  //optional valid string
  "coc": "12345",
  //optional valid url string max length 2000
  "terms_and_conditions": "https://www.terms.nl",
  //optional valid url string max length 2000
  "faq": "http://wwww.faq.nl",
  //optional valid string max length 5
  "open": "08:00",
  //optional valid string max length 5
  "closed": "12:00",
  //optional valid json object to match the structure presented here
  "days": {
    "sunday": false,
    "monday": true,
    "tuesday": true,
    "wednesday": true,
    "thursday": true,
    "friday": false,
    "saturday": true
  },
  //optional valid json object if you want update send whole structure of your social links all link need to be valid URL
  "social": {
    //valid URL string
    "facebook": "http://www.facebook.com",
    //valid URL string
    "twitter": "http://www.twitter.com",
    //valid URL string
    "linkedin": "http://linkedin.com"
  }
}
Suggest Edit