DistributionCenters

Update Distribution Centers

patch/v1/DistributionCenters({ID})

Request

  • Base URL: https://api.channeladvisor.com
  • URL: https://api.channeladvisor.com/v1/DistributionCenters({ID})
  • Auth: OAuth 2 (authorization code, authorization URL https://api.channeladvisor.com/oauth2/authorize, token URL https://api.channeladvisor.com/oauth2/token; implicit, authorization URL https://api.channeladvisor.com/oauth2/authorize, scopes: orders, inventory) and HTTP bearer

Path parameters

IDnumber required

The unique identifier of DistributionCenter

Request body

Namestring nullable
ContactNamestring nullable
ContactEmailstring nullable
ContactPhonestring nullable
Address1string nullable
Address2string nullable
Citystring nullable
StateOrProvincestring nullable
Countrystring nullable
PostalCodestring nullable
Type'Warehouse' | 'ExternallyManaged' | 'DropShip' | 'RetailStore'
Countystring nullable
Districtstring nullable
TimeZonestring nullable
HandlingTimeMinutesnumber nullable
DeliveryAvailableboolean nullable
PickupOrderHoldMinutesnumber nullable
ThroughputLimitNumbernumber nullable
ThroughputLimitUnits'Minutes' | 'Hours' | 'Days'
MainPhonestring nullable
AltPhonestring nullable
Faxstring nullable
HomePagestring nullable
Emailstring nullable
BusinessDescriptionstring nullable
Latitudenumber nullable
Longitudenumber nullable
StoreCategoriesstring nullable
CourierPickupInstructionsstring nullable
CustomerPickupInstructionsstring nullable
PickupInstructionsstring nullable

Example request

{
  "Name": "string",
  "ContactName": "string",
  "ContactEmail": "string",
  "ContactPhone": "string",
  "Address1": "string",
  "Address2": "string",
  "City": "string",
  "StateOrProvince": "string",
  "Country": "string",
  "PostalCode": "string",
  "Type": "Warehouse",
  "County": "string",
  "District": "string",
  "TimeZone": "string",
  "HandlingTimeMinutes": 0,
  "DeliveryAvailable": true,
  "PickupOrderHoldMinutes": 0,
  "ThroughputLimitNumber": 0,
  "ThroughputLimitUnits": "Minutes",
  "MainPhone": "string",
  "AltPhone": "string",
  "Fax": "string",
  "HomePage": "string",
  "Email": "string",
  "BusinessDescription": "string",
  "Latitude": 0,
  "Longitude": 0,
  "StoreCategories": "string",
  "CourierPickupInstructions": "string",
  "CustomerPickupInstructions": "string",
  "PickupInstructions": "string"
}

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.