Skip to main content
GET
TypeScript

Authorizations

Authorization
string
header
required

JWT access token or API token (prefixed with zipp_)

Path Parameters

orgId
string
required

Organization ID

Example:

"org_01HZX9K2QF"

ruleId
string
required

Shipping Rule ID

Example:

"rule_01HZX9K2QF"

Response

Default Response

id
string
required

Unique shipping rule identifier

Example:

"rule_01HZX9K2QF"

name
string
required

Shipping rule name

Minimum string length: 1
Example:

"Standard DK"

description
string | null
required

Optional description

Example:

"Standard levering i Danmark"

direction
enum<string>
default:outbound
required

Whether this rule is for outbound or inbound (return) shipments

Available options:
outbound,
inbound
Example:

"outbound"

carrierId
string
required

Carrier ID

Example:

"carr_01HZX9K2QF"

productId
string
required

Product ID from carrier

Example:

"PNL13"

services
string[]
required

List of selected services

Service code

Example:
additionalParameters
object
required

Carrier-specific extra parameters, keyed by the carrier parameter key from the product's additionalParameters[].key.

Example:
addressId
string
required

Sender address ID

Example:

"addr_01HZX9K2QF"

receivingCountries
string[]
required

List of supported country codes

ISO country code

Example:
emailNotification
boolean
default:false
required

Send an email notification to the receiver

Example:

true

phoneNotification
boolean
default:false
required

Send an SMS notification to the receiver

Example:

false

minWeight
number | null
required

Minimum required weight in kg. Orders below this are excluded from the rule.

Required range: x >= 0
Example:

0

maxWeight
number | null
required

Maximum allowed weight in kg. Orders exceeding this are excluded from the rule.

Required range: x >= 0
Example:

20

minOrderValue
number | null
required

Minimum required order value in currency units. Orders below this are excluded from the rule.

Required range: x >= 0
Example:

0

maxOrderValue
number | null
required

Maximum allowed order value in currency units. Orders exceeding this are excluded from the rule.

Required range: x >= 0
Example:

5000

conditions
object[]
required

Rule conditions (weight/price/quantity)

Example:
generateProformaInvoice
boolean
default:false
required

Generate proforma invoice for shipments

Example:

false

generateCommercialInvoice
boolean
default:false
required

Generate commercial invoice for international shipments

Example:

false

generatePackingList
boolean
default:false
required

Generate a packing slip with parcel and item details

Example:

false

autoPrintLabels
boolean
default:false
required

Automatically print labels when shipment is sent

Example:

false

autoPrintDocuments
boolean
default:false
required

Automatically print documents when shipment is sent

Example:

false

labelPrinterId
string | null
required

ID of the label printer

Example:

null

documentPrinterId
string | null
required

ID of the document printer

Example:

null

returnShippingRuleId
string | null
required

ID of the return shipping rule

Example:

null

autoCreateReturnShipment
boolean
default:false
required

Automatically create and send a return shipment on dispatch

Example:

false

orgId
string
required

Owning organization ID

Example:

"org_01HZX9K2QF"

brandId
string | null
required

Brand this record belongs to, or null when it is organization-wide

Example:

"brnd_8f3kd92ld0"

createdAt
string
required

Creation timestamp (ISO 8601)

Example:

"2026-06-22T09:00:00.000Z"

updatedAt
string
required

Last update timestamp (ISO 8601)

Example:

"2026-06-22T09:00:00.000Z"

carrier
object
required
address
object
required
labelPrinter
object | null
documentPrinter
object | null
returnShippingRule
object | null