Skip to content

Add Inbound Site

Request

This operation used for generating Inbound Site Id.

Security
bearerAuth
Bodyapplication/json
One of:
namestringrequired

The name of the inbound site to be added.

Example:"Site A"
typestringrequired

The type of the inbound site

Example:"site"
locationIdstringrequired

The location ID associated with the inbound site.

Example:"M0K9QbNMgob"
defaultSiteboolean

Indicates if this is the default site.

Example:true
curl -i -X POST \
  https://api-sandbox.sendpro360.pitneybowes.com/pitneytrack/api/v1/inboundsites \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Site A",
    "type": "site",
    "locationId": "M0K9QbNMgob",
    "defaultSite": true
  }'

Responses

Requested Inbound Site Id has been generated successfully.

Bodyapplication/json
inboundSiteIdstring
Example:"zADZNQ1VWvvA"
Response
{ "inboundSiteId": "zADZNQ1VWvvA" }