OK - cURL

cURL is one command line tool you can use to do RESTful API calls. Here are an example how it must be used for our platform.

Please note that you have to send headers for Authorization and Content-Type. Furthermore the url https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/facilities must be replaced with your specific host and endpoint.

curl -sSL -X POST 'https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/facilities' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Bills Candy Shop",
    "address": {
        "companyName": "Bills Candy Shop Ltd.",
        "country": "DE",
        "postalCode": "81669",
        "city": "München",
        "street": "Lilienstr.",
        "houseNumber": "58"
    },
    "services": [
    {
      "type": "SHIP_FROM_STORE"
    }
  ],
  "status": "ONLINE",
  "locationType": "STORE"
}'

Last updated