changedOutput schema / properties / errors / items / properties / code / enum
Previous value: -[
- "EMPTY_CART",
- "DUPLICATE_PRODUCT_ID",
- "INVALID_QUANTITY",
- "INVALID_ARGUMENTS",
- "REQUEST_TOO_LARGE",
- "PRODUCT_NOT_FOUND",
- "PRODUCT_NOT_PUBLIC",
- "PRODUCT_NOT_ON_SALE",
- "PRODUCT_NOT_ORDERABLE",
- "PRICE_UNAVAILABLE",
- "CURRENCY_MISMATCH",
- "DESTINATION_NOT_SERVED",
- "ZONE_UNDETERMINED",
- "INCOMPLETE_LOGISTICS_PROFILE",
- "CURRENT_RULE_UNSUPPORTED",
- "OFFER_SOURCE_UNAVAILABLE",
- "SHIPPING_SOURCE_UNAVAILABLE",
- "SOURCE_UNAVAILABLE",
- "BACKEND_ACCESS_DENIED"
-]New value: +[
+ "EMPTY_CART",
+ "DUPLICATE_PRODUCT_ID",
+ "INVALID_QUANTITY",
+ "INVALID_ARGUMENTS",
+ "REQUEST_TOO_LARGE",
+ "PRODUCT_NOT_FOUND",
+ "PRODUCT_NOT_PUBLIC",
+ "PRODUCT_NOT_ON_SALE",
+ "PRODUCT_NOT_ORDERABLE",
+ "PRICE_UNAVAILABLE",
+ "CURRENCY_MISMATCH",
+ "DESTINATION_NOT_SERVED",
+ "ZONE_UNDETERMINED",
+ "INCOMPLETE_LOGISTICS_PROFILE",
+ "CURRENT_RULE_UNSUPPORTED",
+ "OFFER_SOURCE_UNAVAILABLE",
+ "SHIPPING_SOURCE_UNAVAILABLE",
+ "SOURCE_UNAVAILABLE",
+ "BACKEND_ACCESS_DENIED",
+ "GLS_UNAVAILABLE",
+ "RELAY_INVALID",
+ "RELAY_NOT_ELIGIBLE"
+]
addedOutput schema / properties / shipping / properties / delivery
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "mode": {
+ "const": "gls_pickup"
+ },
+ "relay": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "additionalProperties": false,
+ "properties": {
+ "address_line1": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "address_line2": {
+ "maxLength": 161,
+ "minLength": 0,
+ "type": "string"
+ },
+ "city": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "country_code": {
+ "pattern": "^[A-Z]{2}$",
+ "type": "string"
+ },
+ "postal_code": {
+ "maxLength": 12,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "address_line1",
+ "address_line2",
+ "postal_code",
+ "city",
+ "country_code"
+ ],
+ "type": "object"
+ },
+ "holidays_gls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "EndDate": {
+ "format": "date",
+ "type": "string"
+ },
+ "StartDate": {
+ "format": "date",
+ "type": "string"
+ }
+ },
+ "required": [
+ "StartDate",
+ "EndDate"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "opening_hours": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "breaks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "day": {
+ "enum": [
+ "MON",
+ "TUE",
+ "WED",
+ "THU",
+ "FRI",
+ "SAT",
+ "SUN"
+ ]
+ },
+ "periods": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "day",
+ "periods",
+ "breaks"
+ ],
+ "type": "object"
+ },
+ "maxItems": 7,
+ "type": "array"
+ },
+ "relay_id": {
+ "pattern": "^[A-Za-z0-9_-]{1,80}$",
+ "type": "string"
+ },
+ "working_days_gls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "Breaks": {
+ "additionalProperties": false,
+ "properties": {
+ "OpeningHours": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "From": {
+ "maximum": 86400000,
+ "minimum": -3600000,
+ "type": "integer"
+ },
+ "To": {
+ "maximum": 86400000,
+ "minimum": -3600000,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "From",
+ "To"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ }
+ },
+ "required": [
+ "OpeningHours"
+ ],
+ "type": "object"
+ },
+ "DayOfWeek": {
+ "enum": [
+ "MON",
+ "TUE",
+ "WED",
+ "THU",
+ "FRI",
+ "SAT",
+ "SUN"
+ ]
+ },
+ "OpeningHours": {
+ "additionalProperties": false,
+ "properties": {
+ "OpeningHours": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "From": {
+ "maximum": 86400000,
+ "minimum": -3600000,
+ "type": "integer"
+ },
+ "To": {
+ "maximum": 86400000,
+ "minimum": -3600000,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "From",
+ "To"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ }
+ },
+ "required": [
+ "OpeningHours"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "DayOfWeek",
+ "OpeningHours"
+ ],
+ "type": "object"
+ },
+ "maxItems": 7,
+ "type": "array"
+ }
+ },
+ "required": [
+ "relay_id",
+ "name",
+ "address"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "relay"
+ ],
+ "type": "object"
+}