Sites

Update Site

PUT

Update the site specified by the ID in the URL path with a new site object.


For more information see the Site Model.

Path parameters

siteIdintegerRequired

Request

This endpoint expects an object.
id
integerOptional
Unique identifier for the site, managed by Impilo.
name
stringOptional
The name of the site.
active
booleanOptional
True if the site is active, false otherwise.
address
objectOptional
The shipping address for the site.
PUT
1curl -X PUT https://app.impiloplatform.com/api/v3/site/1 \
2 -H "Impilo-API-Key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": 561,
6 "name": "Building B",
7 "active": true,
8 "address": {
9 "lineOne": "1234 Market Street",
10 "lineTwo": "Suite 110",
11 "city": "Philadelphia",
12 "state": "PA",
13 "zipCode": "19137",
14 "country": "USA"
15 }
16}'