PUT
/
location-geographies
/
{geographyId}
Update Geography by ID
curl --request PUT \
  --url https://api.fabric.inc/v3/location-geographies/{geographyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \
  --data '{
  "geographyName": "US_Geo_PostalCode",
  "description": "Specific geography for US Zones",
  "type": "PostalCode",
  "values": [
    "<string>"
  ],
  "associatedZone": "US_Zone",
  "linkedNetworks": [
    "<string>"
  ],
  "resourceId": "<string>",
  "subResourceId": "<string>"
}'
{
  "geographyId": "9372919a8219e8",
  "version": 2,
  "geographyName": "US_Geo_PostalCode",
  "description": "Specific geography for US Zones",
  "type": "PostalCode",
  "values": [
    "<string>"
  ],
  "associatedZone": "US_Zone",
  "linkedNetworks": [
    "<string>"
  ],
  "createdAt": "2022-07-11T15:03:14.642Z",
  "updatedAt": "2022-07-11T15:03:14.642Z",
  "resourceId": "<string>",
  "subResourceId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-request-id
string

Unique request ID

x-fabric-channel-id
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13.

Path Parameters

geographyId
string
required

System-generated unique ID to identify the geography

Body

application/json

Update geography request

Response

200
application/json

Geography updated

Response object representing a defined geography entity used for zone assignment, network linking, or rule application.