From 255090002216fb8af0ccc11345d7dfc540a811ee Mon Sep 17 00:00:00 2001 From: yoeriwalstra Date: Fri, 23 Jan 2026 12:44:08 +0100 Subject: [PATCH 1/2] :sparkles: add service.zone_code_to to Shipment specification --- specification/schemas/Shipment.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/specification/schemas/Shipment.json b/specification/schemas/Shipment.json index d988a82..e35d269 100644 --- a/specification/schemas/Shipment.json +++ b/specification/schemas/Shipment.json @@ -107,11 +107,18 @@ "properties": { "code": { "type": "string", - "example": "service-a01" + "example": "service-a01", + "description": "Shipment service code" }, "name": { "type": "string", - "example": "Parcel to Parcelshop" + "example": "Parcel to Parcelshop", + "description": "Shipment service name" + }, + "zone_to_code": { + "type": "string", + "example": "western-europe:netherlands", + "description": "Shipment service destination Zone code" } } }, From f14ab9ea4a316de8cb24827102fb9535a9d32b2f Mon Sep 17 00:00:00 2001 From: yoeriwalstra Date: Fri, 23 Jan 2026 13:16:24 +0100 Subject: [PATCH 2/2] make service and service.code properties required in /get-service-rates --- specification/paths/ServiceRates.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/paths/ServiceRates.json b/specification/paths/ServiceRates.json index fba5861..76d03be 100644 --- a/specification/paths/ServiceRates.json +++ b/specification/paths/ServiceRates.json @@ -35,6 +35,7 @@ "required": [ "recipient_address", "sender_address", + "service", "physical_properties" ], "properties": { @@ -52,6 +53,11 @@ "country_code" ] }, + "service": { + "required": [ + "code" + ] + }, "physical_properties": { "required": [ "weight"