Register An Environment


Pilon features environments to contain the products, customers and orders for one site or one store. Each environment can support multiple currencies, languages and translations, but represents a single financial entity.

Retrieve Environment Details

GET/environments/{id}

Retrieve environment details and configuration.

curl -X GET https://api.pilon.io/environments/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"

Update Environment Details

PUT/environments/{id}

curl -X PUT https://api.pilon.io/environments/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json" \
     -d $'{
		  "name": "string",
		  "description": "string",
		  "configuration": "string"
		}'

List All Environments

GET/environments

curl -X GET https://api.pilon.io/environments \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"