Skip to content

HighLevel: Update Shipping Zone

HighLevel store.updateShippingZone: arguments, response, policy and SDK examples.

← Store operations · Get started

Operation gohighlevel.update_shipping_zone

Provider route: PUT /store/shipping-zone/{shippingZoneId}. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["store"]["updateShippingZone"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.store.updateShippingZone(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.store.update_shipping_zone(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.shippingZoneIdstringRequired within parent
bodyModelRequired within parentExpand Update Shipping Zone — request body — body

Referenced models: Update Shipping Zone — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Get Shipping Zone — response body

Referenced models: Get Shipping Zone — response body

2 more schemas are linked from the tables above, on the schema pages.

Get Shipping Zone — response body
FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentShipping zone data
data (allOf 1)ModelAll variants applyExpand List Shipping Zones — response body — data item
messagestringOptionalSuccess message
statusbooleanRequired within parentStatus of api action

Referenced models: List Shipping Zones — response body — data item

Update Shipping Zone — request body — body
FieldTypePresenceDescription and constraints
$objectRoot
altIdstringOptionalLocation Id or Agency Id
altTypestringOptionalOne of: location
countriesarrayOptionalList of countries that are available
countries[]ModelEach itemExpand Create Shipping Zone — request body — body countries item
namestringOptionalName of the shipping zone

Referenced models: Create Shipping Zone — request body — body countries item

List Shipping Zones — response body — data item
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the product.
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentKnown values: location
countriesarrayRequired within parentList of countries that are available
countries[]ModelEach itemExpand List Shipping Zones — response body — data item countries item
createdAtstringRequired within parentcreated at
namestringRequired within parentName of the shipping zone
shippingRatesarrayOptionalArray of shipping rates under this shipping zone
shippingRates[]ModelEach itemExpand List Shipping Rates — response body — data item
updatedAtstringRequired within parentupdated at

Referenced models: List Shipping Rates — response body — data item, List Shipping Zones — response body — data item countries item

Create Shipping Zone — request body — body countries item
FieldTypePresenceDescription and constraints
$objectRoot
codestringRequired within parentCountry code
One of: US, CA, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, XK, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
statesarrayOptionalList of states that are available. If states is empty, then all states are available
states[]ModelEach itemExpand Create Shipping Zone — request body — body countries item states item

Referenced models: Create Shipping Zone — request body — body countries item states item

List Shipping Rates — response body — data item
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the product.
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentKnown values: location
amountJSONRequired within parent
amount (anyOf 1)numberAlternativeThe amount of the shipping rate if it is normal rate (0 means free ). Fixed Handling fee if it is a carrier rate (it will add to the carrier rate).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
conditionTypestringRequired within parentType of condition to provide the conditional pricing
Known values: none, price, weight
createdAtstringRequired within parentcreated at
currencystringRequired within parentThe currency of the amount of the rate / handling fee
descriptionstringOptionalDelivery description
isCarrierRatebooleanOptionalis this a carrier rate
maxConditionJSONRequired within parent
maxCondition (anyOf 1)numberAlternativeMaximum condition for applying this price. set 0 or null if there is no maximum
maxCondition (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
minConditionJSONRequired within parent
minCondition (anyOf 1)numberAlternativeMinimum condition for applying this price. set 0 or null if there is no minimum
minCondition (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringRequired within parentName of the shipping zone
percentageOfRateFeeJSONOptional
percentageOfRateFee (anyOf 1)numberAlternativePercentage of rate fee if it is a carrier rate.
percentageOfRateFee (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shippingCarrierIdstringRequired within parentShipping carrier id
shippingCarrierServicesarrayOptionalAn array of items
shippingCarrierServices[]ModelEach itemExpand Create Shipping Carrier — request body — body services item
shippingZoneIdstringRequired within parentThe unique identifier for the shipping zone.
updatedAtstringRequired within parentupdated at

Referenced models: Create Shipping Carrier — request body — body services item

List Shipping Zones — response body — data item countries item
FieldTypePresenceDescription and constraints
$objectRoot
codestringRequired within parentCountry code
Known values: US, CA, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, XK, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
statesarrayOptionalList of states that are available. If states is empty, then all states are available
states[]ModelEach itemExpand List Shipping Zones — response body — data item countries item states item

Referenced models: List Shipping Zones — response body — data item countries item states item

Create Shipping Carrier — request body — body services item
FieldTypePresenceDescription and constraints
$objectRoot
namestringRequired within parentName of the shipping carrier service
valuestringRequired within parentValue of the shipping carrier service

SDK function policy ID: gohighlevel.update_shipping_zone. Catalog operation: update-shipping-zone. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.