Update a pickup place
PATCH/api/v1/pickup-place/:id
Update a pickup place
Request
Path Parameters
UUID of the pickup place
- application/json
Body
required
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
Array [
]
]
Type of destination
Possible values: [PARCEL_SHOP
, PARCEL_BOX
, HOUSE_ADDRESS
]
HOUSE_ADDRESS
Origin-specific id of the pickup place
123456789
Name of the pickup place
Pobocka Karlin
location
object
Location (address) of the pickup place - except for country
Krizikova 70
Praha 8
State name - applicable for countries such as the US, Canada, etc.
California
158 00
gps
object
required
Location country of the pickup place
Possible values: [UNDEFINED
, AC
, AD
, AE
, AF
, AG
, AI
, AL
, AM
, AN
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BU
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CP
, CR
, CS
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DG
, DJ
, DK
, DM
, DO
, DZ
, EA
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, EU
, EZ
, FI
, FJ
, FK
, FM
, FO
, FR
, FX
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NT
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SF
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SU
, SV
, SX
, SY
, SZ
, TA
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TP
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UK
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XI
, XU
, XK
, YE
, YT
, YU
, ZA
, ZM
, ZR
, ZW
]
CZ
Optional note on the pickup place
This pickup place is a really nice place
Pickup place phone
+420 987 654 321
karlin@mybriliantcompany.com
3
openingHours
object
Opening hours of the pickup place
regular
object
required
monday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
tuesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
wednesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
thursday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
friday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
saturday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
sunday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
09:00
17:00
exceptions
object[]
2024-10-28
hours
object[]
09:00
17:00
Public holidays
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Pickup place successfully updated
- application/json
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
Array [
]
]
Identifier of pickup place
Id of the eshop this pickup place belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
Type of destination
Possible values: [PARCEL_SHOP
, PARCEL_BOX
, HOUSE_ADDRESS
]
HOUSE_ADDRESS
carrier identifier
Possible values: [BUDBEE
, CZECH_POST
, DHL
, DIY
, DPD
, DPD_CZ
, DPD_PL
, DPD_SK
, EU_SHIPMENTS
, FAN_COURIER
, FEDEX
, GEBRUDER_WEISS
, GEIS
, GLS
, GLS_CZ
, GLS_HR
, GLS_HU
, GLS_RO
, GLS_SI
, GLS_SK
, GO_BALIK
, INPOST
, JAPO
, KURIER_123
, KURYR_123
, LANDMARK
, MESSENGER
, PACKETA
, PBH
, POST_AG
, POCZTA_POLSKA
, PPL
, PPL_CPL
, SAMEDAY
, SAMEDAY_RO
, SLOVAKIA_POST
, SPEEDY
, SPRING_GDS
, SPS
, SWISS_POST
, TAXYDROMIKI
, TOP_TRANS
, ULOZENKA
, URGENT_CARGUS
, UNKNOWN
, UPS
, WEDO
, PERSONAL_PICKUP
]
GLS
Origin ID of parcelShop/Box
FZ001
Type of origin system
Possible values: [CARRIER
, SHOPTET
, SHOPTET_PREMIUM
, SHOPIFY
, UPGATES
, API_USER
]
SHOPTET
Location country of the pickup place
Possible values: [UNDEFINED
, AC
, AD
, AE
, AF
, AG
, AI
, AL
, AM
, AN
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BU
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CP
, CR
, CS
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DG
, DJ
, DK
, DM
, DO
, DZ
, EA
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, EU
, EZ
, FI
, FJ
, FK
, FM
, FO
, FR
, FX
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NT
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SF
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SU
, SV
, SX
, SY
, SZ
, TA
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TP
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UK
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XI
, XU
, XK
, YE
, YT
, YU
, ZA
, ZM
, ZR
, ZW
]
CZ
America/New_York
My cool pickup place
location
object
required
Location of pickup place
address line1
Sesame street 11b
address line2
MyCoolCity
optional address region
Michigan
optional address state
Michigan
48228
gps
object
GPS of pickup place location
GPS latitude
14.4542789
GPS longitude
50.0933864
Amazing place
Customer phone
+420 123 456 789
iboughtsomething@customer.com
Pickup place image link
https://cdn.images/amazing.png
How long the shipment will be stored, in days
4
openingHours
object
required
Opening Hours and exceptions
regular
object
required
Regular opening hours
monday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
tuesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
wednesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
thursday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
friday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
saturday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
sunday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
exceptions
object[]
required
Exceptional opening hours - e.g. public holidays
2023-02-17
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
hours
object[]
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
Reconstruction
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"eshopId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"type": "HOUSE_ADDRESS",
"carrier": "GLS",
"originPickupPlaceId": "FZ001",
"origin": "SHOPTET",
"countryCode": "CZ",
"zoneId": "America/New_York",
"name": "My cool pickup place",
"location": {
"line1": "Sesame street 11b",
"line2": "string",
"city": "MyCoolCity",
"region": "Michigan",
"state": "Michigan",
"zipCode": "48228",
"gps": {
"latitude": 14.4542789,
"longitude": 50.0933864
}
},
"note": "Amazing place",
"phone": "+420 123 456 789",
"email": "iboughtsomething@customer.com",
"image": "https://cdn.images/amazing.png",
"storageTime": 4,
"openingHours": {
"regular": {
"monday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"tuesday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"wednesday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"thursday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"friday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"saturday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"sunday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
]
},
"exceptions": [
{
"date": "2023-02-17",
"hours": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"reason": "Reconstruction"
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
Array [
]
]
Identifier of pickup place
Id of the eshop this pickup place belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
Type of destination
Possible values: [PARCEL_SHOP
, PARCEL_BOX
, HOUSE_ADDRESS
]
HOUSE_ADDRESS
carrier identifier
Possible values: [BUDBEE
, CZECH_POST
, DHL
, DIY
, DPD
, DPD_CZ
, DPD_PL
, DPD_SK
, EU_SHIPMENTS
, FAN_COURIER
, FEDEX
, GEBRUDER_WEISS
, GEIS
, GLS
, GLS_CZ
, GLS_HR
, GLS_HU
, GLS_RO
, GLS_SI
, GLS_SK
, GO_BALIK
, INPOST
, JAPO
, KURIER_123
, KURYR_123
, LANDMARK
, MESSENGER
, PACKETA
, PBH
, POST_AG
, POCZTA_POLSKA
, PPL
, PPL_CPL
, SAMEDAY
, SAMEDAY_RO
, SLOVAKIA_POST
, SPEEDY
, SPRING_GDS
, SPS
, SWISS_POST
, TAXYDROMIKI
, TOP_TRANS
, ULOZENKA
, URGENT_CARGUS
, UNKNOWN
, UPS
, WEDO
, PERSONAL_PICKUP
]
GLS
Origin ID of parcelShop/Box
FZ001
Type of origin system
Possible values: [CARRIER
, SHOPTET
, SHOPTET_PREMIUM
, SHOPIFY
, UPGATES
, API_USER
]
SHOPTET
Location country of the pickup place
Possible values: [UNDEFINED
, AC
, AD
, AE
, AF
, AG
, AI
, AL
, AM
, AN
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BU
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CP
, CR
, CS
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DG
, DJ
, DK
, DM
, DO
, DZ
, EA
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, EU
, EZ
, FI
, FJ
, FK
, FM
, FO
, FR
, FX
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NT
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SF
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SU
, SV
, SX
, SY
, SZ
, TA
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TP
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UK
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XI
, XU
, XK
, YE
, YT
, YU
, ZA
, ZM
, ZR
, ZW
]
CZ
America/New_York
My cool pickup place
location
object
required
Location of pickup place
address line1
Sesame street 11b
address line2
MyCoolCity
optional address region
Michigan
optional address state
Michigan
48228
gps
object
GPS of pickup place location
GPS latitude
14.4542789
GPS longitude
50.0933864
Amazing place
Customer phone
+420 123 456 789
iboughtsomething@customer.com
Pickup place image link
https://cdn.images/amazing.png
How long the shipment will be stored, in days
4
openingHours
object
required
Opening Hours and exceptions
regular
object
required
Regular opening hours
monday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
tuesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
wednesday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
thursday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
friday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
saturday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
sunday
object[]
Time interval(s) during the day when the place is open - null or empty means closed all day
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
exceptions
object[]
required
Exceptional opening hours - e.g. public holidays
2023-02-17
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
hours
object[]
Possible values: Value must match regular expression HH:mm:ss
08:00:00
Possible values: Value must match regular expression HH:mm:ss
18:00:00
Reconstruction
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"eshopId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"type": "HOUSE_ADDRESS",
"carrier": "GLS",
"originPickupPlaceId": "FZ001",
"origin": "SHOPTET",
"countryCode": "CZ",
"zoneId": "America/New_York",
"name": "My cool pickup place",
"location": {
"line1": "Sesame street 11b",
"line2": "string",
"city": "MyCoolCity",
"region": "Michigan",
"state": "Michigan",
"zipCode": "48228",
"gps": {
"latitude": 14.4542789,
"longitude": 50.0933864
}
},
"note": "Amazing place",
"phone": "+420 123 456 789",
"email": "iboughtsomething@customer.com",
"image": "https://cdn.images/amazing.png",
"storageTime": 4,
"openingHours": {
"regular": {
"monday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"tuesday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"wednesday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"thursday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"friday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"saturday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"sunday": [
{
"from": "08:00:00",
"to": "18:00:00"
}
]
},
"exceptions": [
{
"date": "2023-02-17",
"hours": [
{
"from": "08:00:00",
"to": "18:00:00"
}
],
"reason": "Reconstruction"
}
]
}
}
Input data validation error - constraint violation
- application/problem+json
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Invalid API token
- application/problem+json
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Access denied (under the current user account)
- application/problem+json
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Pickup place not found (under the current user account)
- application/problem+json
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}