Find existing order
GET/api/v1/order/:orderId
Find existing order by id
Request
Path Parameters
id of order to search for
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Order is found
- application/json
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
identifier of order
Name of data source
shopify
External number of order in eshop
A123456789
State of order
Possible values: [CREATED
, PICKING
, IN_TRANSIT
, PARTIALLY_DELIVERED
, DELIVERED
, UNDELIVERED
, CANCELLED
, RETURNED
]
IN_TRANSIT
Id of Market order belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
Id of Eshop order belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
moment in time when was order created in external system.
2012-12-31T23:59:59Z
Optional identifier of order in external system
ORD123456789
destination
object
Destination of order - either house address or parcelShop/box
Type of destination
Possible values: [PARCEL_SHOP
, PARCEL_BOX
, HOUSE_ADDRESS
]
HOUSE_ADDRESS
address
object
Address details
address line1
Sesame street
address line2
11b
MyCoolCity
48228
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
optional address state
Michigan
optional address region
Michigan
GPS longitude
50.0933864
GPS latitude
14.4542789
parcelShop
object
Details about carriers parcelShop/Box to deliver to
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
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
Carriers ID of parcelShop/Box
A1234
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
additionalCosts
object[]
required
List of additional costs
Type of additional cost
Possible values: [SHIPPING
, CASH_ON_DELIVERY
, CARD
, BANK_TRANSFER
, CASH
, PACKING
, DUTY
, OTHER
]
SHIPPING
price
object
required
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
Name of cost
Possible values: Value must match regular expression ^(?!\s*$).+
Home delivery
cashOnDelivery
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
payment
object
Information about payment
state of payment. DEPRECATION NOTICE: marked for removal, use state
instead
false
State of payment
Possible values: [UNKNOWN
, UNPAID
, PAID
]
PAID
Optional tag related to UNPAID state of payment
Possible values: [AWAITING_30MIN
, AWAITING_1DAY
, AWAITING_2DAYS
, AWAITING_3DAYS
, AWAITING_4DAYS
, AWAITING_5DAYS
, AWAITING
]
AWAITING_30MIN
Method used for payment
Possible values: [CASH_ON_DELIVERY
, BANK_TRANSFER
, CARD
, CRYPTO
, OTHER
]
CASH_ON_DELIVERY
Type of service used for payment
Possible values: [PAYPAL
, APPLE_PAY
, GOOGLE_PAY
, OTHER
]
PAYPAL
payment link
https://pay.me
customer
object
Customer details - name, phone, email
Customer name
John Doe
Customer email
iboughtsomething@customer.com
Customer phone
+420 123 456 789
parcels
object[]
required
Parcels contained in this order
identifier of parcel
2b54b81f-1ba6-4196-acc9-894d958bbce7
id of order this parcel belongs to
1cad6be8-5bcc-43ff-b9be-a4ed53a2bce1
moment in time when was parcel created in external system.
2012-12-31T23:59:59Z
dimensions
object
Parcel dimensions
Package weight in kg
1.2
Package height in cm
25
Package length in cm
30
Package width in cm
20
deliveryDetails
object
details about order delivery if available
Date of estimated delivery
2024-04-18
delay
object
Delivery delay details
If delivery is delayed
true
The reason for the delay
The manufacturer is on strike
optional PIN for pickup
state
object
State of parcel
state of delivery
Possible values: [CREATED
, ESHOP_PROCESSING
, MANUFACTURING
, AVAILABLE_FROM_MANUFACTURER
, PICKING
, READY_TO_SEND
, HANDED_TO_CARRIER
, IN_TRANSIT
, STORED_FOR_PICKUP
, DELIVERED
, RETURNED
, LOST
, CANCELLED
, EXPIRED
]
STORED_FOR_PICKUP
optional important state assigned to parcel. value is not assigned if parcel is not marked as important
Possible values: [BAD_RATING
, MALFUNCTION
, TIME_REASONS
, ACT_OF_GOD
, CARRIERS_FAULT
, DAMAGED
, NOT_REACHED
, DISPOSITION_CHANGE
, RETURNING
, SLIGHTLY_DELAYED
, NOT_PICKED_1DAY
, NOT_PICKED_2DAYS
, NOT_PICKED_3DAYS
]
optional urgent state assigned to parcel. value is not assigned if parcel is not marked as urgent
Possible values: [REJECTED_FOR_DELIVERY
, REJECTED_TAKEOVER
, INCORRECT_ADDRESS
, OTHER
, DELIVERY_DELAYED
, NOT_PICKED_4DAYS
, NOT_PICKED_5DAYS
, LAST_DAY_FOR_PICKUP
]
is parcel being delivered today?
is parcel returning back to sender?
state of parcel tracking
Possible values: [AWAITING
, SUSPENDED
, TRACKING
, MISSING_CREDENTIALS
, INVALID_CREDENTIALS
, MISSING_CARRIER_CONFIGURATION
, INACTIVE_CARRIER_CONFIGURATION
, EXPIRED
, CANCELLED
, MISSING_TRACKING_NUMBER
, INVALID_TRACKING_NUMBER
, UNKNOWN_TRACKING_NUMBER
, DONE
]
deliveryWindow
object
time window described by two moments in time; beginning and end
moment in time when time window starts
moment in time when time window ends
activeTracking
object
Tracking of parcel in specific carrier system
identifier of this tracking
2b54b81f-1ba6-4196-acc9-894d958bbce7
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
tracking number in carrier system
A1234567890
url of tracking page in carrier system
https://gls-group.eu/CZ/cs/sledovani-zasilek?match=A1234567890
optional id to reference parcel in carrier tracking system
ax72dd
optional id of carrier configuration in Foxdeli. Carrier configuration is used for communication with carrier api. If no value is provided and carrier requires authorization, primary carrier configuration for given carrier will be used.
optional phone number of courier that is transporting parcel
timeline
object[]
required
Parcel timeline
Unique id of record
12345678-1234-1234-1234-1234567890ab
Type of timeline record
Possible values: [NOTE
, COMMUNICATION
, ISSUE_COMMUNICATION
, TRACKING
, ISSUE_TRACKING
]
NOTE
Text of record
The client has changed the payment type
moment in time when timeline record has been created
2022-02-16T10:48:11Z
author of record
Malina Red
additionalParams
object
Additional parameters related to timeline record
shippingEmail
object
details about email communication related to timeline records of type COMMUNICATION
Possible values: [ACT_OF_GOD
, AVAILABLE_FROM_MANUFACTURER
, CANCELLED
, CARRIERS_FAULT
, CROSS_BORDER
, DAMAGED
, DELIVERED
, DELIVERY_DELAYED
, DELIVERY_TODAY
, DISPOSITION_CHANGED
, ESHOP_PROCESSING
, ESTIMATED_DELIVERY_DATE
, ESTIMATED_DELIVERY_DATE_DELAY
, EXPIRED
, HANDED_TO_CARRIER
, INCORRECT_ADDRESS
, IN_TRANSIT
, LAST_PICKUP_DAY
, LOST
, MALFUNCTION
, MANUFACTURING
, NOT_PICKED_UP_1DAY
, NOT_PICKED_UP_2DAYS
, NOT_PICKED_UP_3DAYS
, NOT_PICKED_UP_4DAYS
, NOT_PICKED_UP_5DAYS
, NOT_REACHED
, ORDER_ACCEPTED
, ORDER_CONTENT_CHANGED
, ORDER_DESTINATION_CHANGED
, ORDER_PAID
, ORDER_UNPAID
, ORDER_WAITING_FOR_PAYMENT
, ORDER_WAITING_FOR_PAYMENT_1DAY
, ORDER_WAITING_FOR_PAYMENT_2DAYS
, ORDER_WAITING_FOR_PAYMENT_30MIN
, ORDER_WAITING_FOR_PAYMENT_3DAYS
, ORDER_WAITING_FOR_PAYMENT_4DAYS
, ORDER_WAITING_FOR_PAYMENT_5DAYS
, OTHER
, PICKING
, RATING
, RATING_1_STAR
, RATING_2_STAR
, RATING_3_STAR
, RATING_4_STAR
, RATING_5_STAR
, READY_TO_PICKUP
, READY_TO_PICKUP_BOX
, READY_TO_PICKUP_RETAIL
, READY_TO_SEND
, REJECTED_DELIVERY
, REJECTED_FOR_DELIVERY
, RETURNED
, RETURNING
, SLIGHTLY_DELAYED
, TIME_REASONS
]
IN_TRANSIT
type of event for email communication
Possible values: [EMAIL_SENT
, EMAIL_PROCESSED
, EMAIL_DROPPED
, EMAIL_DELIVERED
, EMAIL_DEFERRED
, EMAIL_BOUNCED
, EMAIL_BLOCKED
, EMAIL_OPENED
, EMAIL_CLICKED
, EMAIL_SPAM_REPORT
, EMAIL_UNSUBSCRIBED
, EMAIL_GROUP_UNSUBSCRIBED
, EMAIL_GROUP_RESUBSCRIBED
]
parcelState
object
descriptor of parcel state that is related to created tracking timeline entry
state of delivery
Possible values: [CREATED
, ESHOP_PROCESSING
, MANUFACTURING
, AVAILABLE_FROM_MANUFACTURER
, PICKING
, READY_TO_SEND
, HANDED_TO_CARRIER
, IN_TRANSIT
, STORED_FOR_PICKUP
, DELIVERED
, RETURNED
, LOST
, CANCELLED
, EXPIRED
]
STORED_FOR_PICKUP
optional important state assigned to parcel. value is not assigned if parcel is not marked as important
Possible values: [BAD_RATING
, MALFUNCTION
, TIME_REASONS
, ACT_OF_GOD
, CARRIERS_FAULT
, DAMAGED
, NOT_REACHED
, DISPOSITION_CHANGE
, RETURNING
, SLIGHTLY_DELAYED
, NOT_PICKED_1DAY
, NOT_PICKED_2DAYS
, NOT_PICKED_3DAYS
]
optional urgent state assigned to parcel. value is not assigned if parcel is not marked as urgent
Possible values: [REJECTED_FOR_DELIVERY
, REJECTED_TAKEOVER
, INCORRECT_ADDRESS
, OTHER
, DELIVERY_DELAYED
, NOT_PICKED_4DAYS
, NOT_PICKED_5DAYS
, LAST_DAY_FOR_PICKUP
]
is parcel being delivered today?
is parcel returning back to sender?
optional group identifier computed from parcel state to determine if two parcel states represent same logical parcel state
parcelTrace
object
deprecated
descriptor of parcel trace that is related to created tracking timeline entry. parcel trace is a container that holds tracking state fields provided by carrier tracking system.
moment in time when was this trace created in foxdeli system
moment in time when tracking event that represents this trace happened in carrier tracking system
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
tracking number of parcel related to tracking event
identifier of parcel tracking state in carrier tracking system
optional text containing additional details related to state of parcel
issueTracking
object
details about issue tracking related to timeline records of type ISSUE_TRACKING
Products from order that are contained in this parcel
Optional tags assigned to parcel
Possible values: [TRACKING_SUSPENDED
]
Full url to courier's original tracking page. DEPRECATION NOTICE: marked for removal. use activeTracking.url instead.
when was parcel created
2023-09-02T13:05:01.636Z
when was parcel last updated
2023-09-02T19:55:41.301Z
products
object[]
required
Products contained in this order
Type of product
Possible values: [PRODUCT
, DIGITAL_PRODUCT
, SERVICE
, GIFT
, DISCOUNT
, VOUCHER
]
PRODUCT
product SKU
A1234
name of product
Awesome product
short product description.
So awesome you must have it!
url of product detail.
https://mycoolshop.com/product/A1234
url of product image.
https://mycoolshop.com/img/product/A1234.png
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
VAT value
23.5
quantity ordered
Possible values: >= 1
1
reference to the SKU of the product it belongs to, e.g. extended warranty. references product within same order
A9999
recommendedProducts
object[]
required
Products to be displayed in Recommended Products TnT/email module
Type of product
Possible values: [PRODUCT
, DIGITAL_PRODUCT
, SERVICE
, GIFT
, DISCOUNT
, VOUCHER
]
PRODUCT
product SKU
A1234
name of product
Awesome product
short product description.
So awesome you must have it!
url of product detail.
https://mycoolshop.com/product/A1234
url of product image.
https://mycoolshop.com/img/product/A1234.png
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
Instant of cancellation. DEPRECATION NOTICE: field is marked for removal and will be removed in one of next major releases
is order in urgent state?
true
is order in important state?
true
is order in malfunction state?
true
snooze
object
Snooze details
moment in time until which order is snoozed
2022-02-16T10:48:11Z
author of snooze
John Doe
snooze note
Resolved
is snooze currently active?
false
moment in time when was order created
2023-09-02T13:05:01.636Z
moment in time when was order last updated
2023-09-02T19:55:41.301Z
(Foxdeli storage) URL of the invoice that belongs to this order (optional)
https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf
(Foxdeli storage) URL of the proforma invoice that belongs to this order (optional)
https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf
files
object[]
required
List of files attached to order
identifier of file
name of a file
url to access file content
content type of file
links
object
required
trackAndTrace
object
required
link to a resource
billingDetails
object
Billing details
Name
John Doe
Company name
Doe Ltd
billingAddress
object
Address details
address line1
Sesame street
address line2
11b
MyCoolCity
48228
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
optional address state
Michigan
optional address region
Michigan
GPS longitude
50.0933864
GPS latitude
14.4542789
Company Registration Number
12345678
Value Added Tax Number
CZ12345678
Email address
johndoe@mail.com
Phone number
+420 123 456 789
Order language - two letter language code - ISO-639-1
Possible values: [undefined
, aa
, ab
, ae
, af
, ak
, am
, an
, ar
, as
, av
, ay
, az
, ba
, be
, bg
, bh
, bi
, bm
, bn
, bo
, br
, bs
, ca
, ce
, ch
, co
, cr
, cs
, cu
, cv
, cy
, da
, de
, dv
, dz
, ee
, el
, en
, eo
, es
, et
, eu
, fa
, ff
, fi
, fj
, fo
, fr
, fy
, ga
, gd
, gl
, gn
, gu
, gv
, ha
, he
, hi
, ho
, hr
, ht
, hu
, hy
, hz
, ia
, id
, ie
, ig
, ii
, ik
, io
, is
, it
, iu
, ja
, jv
, ka
, kg
, ki
, kj
, kk
, kl
, km
, kn
, ko
, kr
, ks
, ku
, kv
, kw
, ky
, la
, lb
, lg
, li
, ln
, lo
, lt
, lu
, lv
, mg
, mh
, mi
, mk
, ml
, mn
, mr
, ms
, mt
, my
, na
, nb
, nd
, ne
, ng
, nl
, nn
, no
, nr
, nv
, ny
, oc
, oj
, om
, or
, os
, pa
, pi
, pl
, ps
, pt
, qu
, rm
, rn
, ro
, ru
, rw
, sa
, sc
, sd
, se
, sg
, si
, sk
, sl
, sm
, sn
, so
, sq
, sr
, ss
, st
, su
, sv
, sw
, ta
, te
, tg
, th
, ti
, tk
, tl
, tn
, to
, tr
, ts
, tt
, tw
, ty
, ug
, uk
, ur
, uz
, ve
, vi
, vo
, wa
, wo
, xh
, yi
, yo
, za
, zh
, zu
]
cs
externalLinks
object[]
deprecated
list of order external links. DEPRECATION NOTICE: marked for removal. use communication.externalLinks
instead.
link name
Invoice
link url
https://example.com/invoice.pdf
External Link Icon
Possible values: [LINK
, FILE
]
FILE
communication
object
required
Customization of communication for given order
optional url of order in external system; typically order url in eshop. if not explicitly provided in request, existing value remains unchanged.
externalLinks
object[]
link name
Invoice
link url
https://example.com/invoice.pdf
External Link Icon
Possible values: [LINK
, FILE
]
FILE
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "shopify",
"orderNumber": "A123456789",
"orderState": "IN_TRANSIT",
"marketId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"eshopId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"externalCreated": "2012-12-31T23:59:59Z",
"externalIdentifier": "ORD123456789",
"destination": {
"type": "HOUSE_ADDRESS",
"address": {
"line1": "Sesame street",
"line2": "11b",
"city": "MyCoolCity",
"postalCode": "48228",
"countryCode": "US",
"state": "Michigan",
"region": "Michigan",
"longitude": 50.0933864,
"latitude": 14.4542789
},
"parcelShop": {
"carrier": "GLS",
"countryCode": "US",
"parcelShopId": "A1234",
"pickupPlaceId": "string",
"businessHours": "string"
}
},
"price": {
"amount": 99.96,
"currency": "CZK"
},
"additionalCosts": [
{
"type": "SHIPPING",
"price": {
"amount": 99.96,
"currency": "CZK"
},
"name": "Home delivery"
}
],
"cashOnDelivery": {
"amount": 99.96,
"currency": "CZK"
},
"payment": {
"state": "PAID",
"tag": "AWAITING_30MIN",
"method": "CASH_ON_DELIVERY",
"service": "PAYPAL",
"link": "https://pay.me"
},
"customer": {
"name": "John Doe",
"email": "iboughtsomething@customer.com",
"phone": "+420 123 456 789"
},
"parcels": [
{
"id": "2b54b81f-1ba6-4196-acc9-894d958bbce7",
"orderId": "1cad6be8-5bcc-43ff-b9be-a4ed53a2bce1",
"externalCreated": "2012-12-31T23:59:59Z",
"dimensions": {
"weight": 1.2,
"height": 25,
"length": 30,
"width": 20
},
"deliveryDetails": {
"estimatedDeliveryDate": "2024-04-18",
"delay": {
"delayed": true,
"reason": "The manufacturer is on strike"
}
},
"pin": "string",
"state": {
"delivery": "STORED_FOR_PICKUP",
"deliverToday": true,
"returning": true
},
"trackingState": "AWAITING",
"maxStoreDate": "2024-07-29T15:51:28.071Z",
"deliveryWindow": {
"from": "2024-07-29T15:51:28.071Z",
"to": "2024-07-29T15:51:28.071Z"
},
"activeTracking": {
"trackingId": "2b54b81f-1ba6-4196-acc9-894d958bbce7",
"carrier": "GLS",
"number": "A1234567890",
"url": "https://gls-group.eu/CZ/cs/sledovani-zasilek?match=A1234567890",
"referenceId": "ax72dd",
"carrierConfigurationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"courierPhone": "string"
},
"timeline": [
{
"timelineId": "12345678-1234-1234-1234-1234567890ab",
"type": "NOTE",
"text": "The client has changed the payment type",
"created": "2022-02-16T10:48:11Z",
"author": "Malina Red",
"additionalParams": {
"shippingEmail": {
"recipient": "string",
"emailId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"emailConfigId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"campaignId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"state": "IN_TRANSIT",
"event": "EMAIL_SENT",
"occurred": "2024-07-29T15:51:28.071Z"
},
"parcelState": {
"delivery": "STORED_FOR_PICKUP",
"deliverToday": true,
"returning": true
},
"parcelStateGroup": "string",
"issueTracking": {
"type": "string",
"externalUrl": "string"
}
}
}
],
"products": [
"string"
],
"tags": [
"TRACKING_SUSPENDED"
],
"created": "2023-09-02T13:05:01.636Z",
"updated": "2023-09-02T19:55:41.301Z"
}
],
"products": [
{
"type": "PRODUCT",
"sku": "A1234",
"name": "Awesome product",
"description": "So awesome you must have it!",
"url": "https://mycoolshop.com/product/A1234",
"image": "https://mycoolshop.com/img/product/A1234.png",
"price": {
"amount": 99.96,
"currency": "CZK"
},
"vat": 23.5,
"quantity": 1,
"referencedSku": "A9999"
}
],
"recommendedProducts": [
{
"type": "PRODUCT",
"sku": "A1234",
"name": "Awesome product",
"description": "So awesome you must have it!",
"url": "https://mycoolshop.com/product/A1234",
"image": "https://mycoolshop.com/img/product/A1234.png",
"price": {
"amount": 99.96,
"currency": "CZK"
}
}
],
"inUrgentState": true,
"inImportantState": true,
"malfunction": true,
"snooze": {
"until": "2022-02-16T10:48:11Z",
"author": "John Doe",
"note": "Resolved",
"snoozed": false
},
"created": "2023-09-02T13:05:01.636Z",
"updated": "2023-09-02T19:55:41.301Z",
"invoiceFileUrl": "https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf",
"proformaInvoiceFileUrl": "https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf",
"files": [
{
"id": "string",
"name": "string",
"url": "string",
"contentType": "string"
}
],
"links": {
"trackAndTrace": {
"href": "string"
}
},
"billingDetails": {
"name": "John Doe",
"companyName": "Doe Ltd",
"billingAddress": {
"line1": "Sesame street",
"line2": "11b",
"city": "MyCoolCity",
"postalCode": "48228",
"countryCode": "US",
"state": "Michigan",
"region": "Michigan",
"longitude": 50.0933864,
"latitude": 14.4542789
},
"crn": "12345678",
"vatId": "CZ12345678",
"email": "johndoe@mail.com",
"phone": "+420 123 456 789"
},
"language": "cs",
"communication": {
"optional url of order in external system; typically order url in eshop": "string",
"externalLinks": [
{
"name": "Invoice",
"url": "https://example.com/invoice.pdf",
"icon": "FILE"
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
identifier of order
Name of data source
shopify
External number of order in eshop
A123456789
State of order
Possible values: [CREATED
, PICKING
, IN_TRANSIT
, PARTIALLY_DELIVERED
, DELIVERED
, UNDELIVERED
, CANCELLED
, RETURNED
]
IN_TRANSIT
Id of Market order belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
Id of Eshop order belongs to
edf4b2ec-c1fc-42da-ba86-eb3a236cd565
moment in time when was order created in external system.
2012-12-31T23:59:59Z
Optional identifier of order in external system
ORD123456789
destination
object
Destination of order - either house address or parcelShop/box
Type of destination
Possible values: [PARCEL_SHOP
, PARCEL_BOX
, HOUSE_ADDRESS
]
HOUSE_ADDRESS
address
object
Address details
address line1
Sesame street
address line2
11b
MyCoolCity
48228
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
optional address state
Michigan
optional address region
Michigan
GPS longitude
50.0933864
GPS latitude
14.4542789
parcelShop
object
Details about carriers parcelShop/Box to deliver to
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
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
Carriers ID of parcelShop/Box
A1234
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
additionalCosts
object[]
required
List of additional costs
Type of additional cost
Possible values: [SHIPPING
, CASH_ON_DELIVERY
, CARD
, BANK_TRANSFER
, CASH
, PACKING
, DUTY
, OTHER
]
SHIPPING
price
object
required
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
Name of cost
Possible values: Value must match regular expression ^(?!\s*$).+
Home delivery
cashOnDelivery
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
payment
object
Information about payment
state of payment. DEPRECATION NOTICE: marked for removal, use state
instead
false
State of payment
Possible values: [UNKNOWN
, UNPAID
, PAID
]
PAID
Optional tag related to UNPAID state of payment
Possible values: [AWAITING_30MIN
, AWAITING_1DAY
, AWAITING_2DAYS
, AWAITING_3DAYS
, AWAITING_4DAYS
, AWAITING_5DAYS
, AWAITING
]
AWAITING_30MIN
Method used for payment
Possible values: [CASH_ON_DELIVERY
, BANK_TRANSFER
, CARD
, CRYPTO
, OTHER
]
CASH_ON_DELIVERY
Type of service used for payment
Possible values: [PAYPAL
, APPLE_PAY
, GOOGLE_PAY
, OTHER
]
PAYPAL
payment link
https://pay.me
customer
object
Customer details - name, phone, email
Customer name
John Doe
Customer email
iboughtsomething@customer.com
Customer phone
+420 123 456 789
parcels
object[]
required
Parcels contained in this order
identifier of parcel
2b54b81f-1ba6-4196-acc9-894d958bbce7
id of order this parcel belongs to
1cad6be8-5bcc-43ff-b9be-a4ed53a2bce1
moment in time when was parcel created in external system.
2012-12-31T23:59:59Z
dimensions
object
Parcel dimensions
Package weight in kg
1.2
Package height in cm
25
Package length in cm
30
Package width in cm
20
deliveryDetails
object
details about order delivery if available
Date of estimated delivery
2024-04-18
delay
object
Delivery delay details
If delivery is delayed
true
The reason for the delay
The manufacturer is on strike
optional PIN for pickup
state
object
State of parcel
state of delivery
Possible values: [CREATED
, ESHOP_PROCESSING
, MANUFACTURING
, AVAILABLE_FROM_MANUFACTURER
, PICKING
, READY_TO_SEND
, HANDED_TO_CARRIER
, IN_TRANSIT
, STORED_FOR_PICKUP
, DELIVERED
, RETURNED
, LOST
, CANCELLED
, EXPIRED
]
STORED_FOR_PICKUP
optional important state assigned to parcel. value is not assigned if parcel is not marked as important
Possible values: [BAD_RATING
, MALFUNCTION
, TIME_REASONS
, ACT_OF_GOD
, CARRIERS_FAULT
, DAMAGED
, NOT_REACHED
, DISPOSITION_CHANGE
, RETURNING
, SLIGHTLY_DELAYED
, NOT_PICKED_1DAY
, NOT_PICKED_2DAYS
, NOT_PICKED_3DAYS
]
optional urgent state assigned to parcel. value is not assigned if parcel is not marked as urgent
Possible values: [REJECTED_FOR_DELIVERY
, REJECTED_TAKEOVER
, INCORRECT_ADDRESS
, OTHER
, DELIVERY_DELAYED
, NOT_PICKED_4DAYS
, NOT_PICKED_5DAYS
, LAST_DAY_FOR_PICKUP
]
is parcel being delivered today?
is parcel returning back to sender?
state of parcel tracking
Possible values: [AWAITING
, SUSPENDED
, TRACKING
, MISSING_CREDENTIALS
, INVALID_CREDENTIALS
, MISSING_CARRIER_CONFIGURATION
, INACTIVE_CARRIER_CONFIGURATION
, EXPIRED
, CANCELLED
, MISSING_TRACKING_NUMBER
, INVALID_TRACKING_NUMBER
, UNKNOWN_TRACKING_NUMBER
, DONE
]
deliveryWindow
object
time window described by two moments in time; beginning and end
moment in time when time window starts
moment in time when time window ends
activeTracking
object
Tracking of parcel in specific carrier system
identifier of this tracking
2b54b81f-1ba6-4196-acc9-894d958bbce7
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
tracking number in carrier system
A1234567890
url of tracking page in carrier system
https://gls-group.eu/CZ/cs/sledovani-zasilek?match=A1234567890
optional id to reference parcel in carrier tracking system
ax72dd
optional id of carrier configuration in Foxdeli. Carrier configuration is used for communication with carrier api. If no value is provided and carrier requires authorization, primary carrier configuration for given carrier will be used.
optional phone number of courier that is transporting parcel
timeline
object[]
required
Parcel timeline
Unique id of record
12345678-1234-1234-1234-1234567890ab
Type of timeline record
Possible values: [NOTE
, COMMUNICATION
, ISSUE_COMMUNICATION
, TRACKING
, ISSUE_TRACKING
]
NOTE
Text of record
The client has changed the payment type
moment in time when timeline record has been created
2022-02-16T10:48:11Z
author of record
Malina Red
additionalParams
object
Additional parameters related to timeline record
shippingEmail
object
details about email communication related to timeline records of type COMMUNICATION
Possible values: [ACT_OF_GOD
, AVAILABLE_FROM_MANUFACTURER
, CANCELLED
, CARRIERS_FAULT
, CROSS_BORDER
, DAMAGED
, DELIVERED
, DELIVERY_DELAYED
, DELIVERY_TODAY
, DISPOSITION_CHANGED
, ESHOP_PROCESSING
, ESTIMATED_DELIVERY_DATE
, ESTIMATED_DELIVERY_DATE_DELAY
, EXPIRED
, HANDED_TO_CARRIER
, INCORRECT_ADDRESS
, IN_TRANSIT
, LAST_PICKUP_DAY
, LOST
, MALFUNCTION
, MANUFACTURING
, NOT_PICKED_UP_1DAY
, NOT_PICKED_UP_2DAYS
, NOT_PICKED_UP_3DAYS
, NOT_PICKED_UP_4DAYS
, NOT_PICKED_UP_5DAYS
, NOT_REACHED
, ORDER_ACCEPTED
, ORDER_CONTENT_CHANGED
, ORDER_DESTINATION_CHANGED
, ORDER_PAID
, ORDER_UNPAID
, ORDER_WAITING_FOR_PAYMENT
, ORDER_WAITING_FOR_PAYMENT_1DAY
, ORDER_WAITING_FOR_PAYMENT_2DAYS
, ORDER_WAITING_FOR_PAYMENT_30MIN
, ORDER_WAITING_FOR_PAYMENT_3DAYS
, ORDER_WAITING_FOR_PAYMENT_4DAYS
, ORDER_WAITING_FOR_PAYMENT_5DAYS
, OTHER
, PICKING
, RATING
, RATING_1_STAR
, RATING_2_STAR
, RATING_3_STAR
, RATING_4_STAR
, RATING_5_STAR
, READY_TO_PICKUP
, READY_TO_PICKUP_BOX
, READY_TO_PICKUP_RETAIL
, READY_TO_SEND
, REJECTED_DELIVERY
, REJECTED_FOR_DELIVERY
, RETURNED
, RETURNING
, SLIGHTLY_DELAYED
, TIME_REASONS
]
IN_TRANSIT
type of event for email communication
Possible values: [EMAIL_SENT
, EMAIL_PROCESSED
, EMAIL_DROPPED
, EMAIL_DELIVERED
, EMAIL_DEFERRED
, EMAIL_BOUNCED
, EMAIL_BLOCKED
, EMAIL_OPENED
, EMAIL_CLICKED
, EMAIL_SPAM_REPORT
, EMAIL_UNSUBSCRIBED
, EMAIL_GROUP_UNSUBSCRIBED
, EMAIL_GROUP_RESUBSCRIBED
]
parcelState
object
descriptor of parcel state that is related to created tracking timeline entry
state of delivery
Possible values: [CREATED
, ESHOP_PROCESSING
, MANUFACTURING
, AVAILABLE_FROM_MANUFACTURER
, PICKING
, READY_TO_SEND
, HANDED_TO_CARRIER
, IN_TRANSIT
, STORED_FOR_PICKUP
, DELIVERED
, RETURNED
, LOST
, CANCELLED
, EXPIRED
]
STORED_FOR_PICKUP
optional important state assigned to parcel. value is not assigned if parcel is not marked as important
Possible values: [BAD_RATING
, MALFUNCTION
, TIME_REASONS
, ACT_OF_GOD
, CARRIERS_FAULT
, DAMAGED
, NOT_REACHED
, DISPOSITION_CHANGE
, RETURNING
, SLIGHTLY_DELAYED
, NOT_PICKED_1DAY
, NOT_PICKED_2DAYS
, NOT_PICKED_3DAYS
]
optional urgent state assigned to parcel. value is not assigned if parcel is not marked as urgent
Possible values: [REJECTED_FOR_DELIVERY
, REJECTED_TAKEOVER
, INCORRECT_ADDRESS
, OTHER
, DELIVERY_DELAYED
, NOT_PICKED_4DAYS
, NOT_PICKED_5DAYS
, LAST_DAY_FOR_PICKUP
]
is parcel being delivered today?
is parcel returning back to sender?
optional group identifier computed from parcel state to determine if two parcel states represent same logical parcel state
parcelTrace
object
deprecated
descriptor of parcel trace that is related to created tracking timeline entry. parcel trace is a container that holds tracking state fields provided by carrier tracking system.
moment in time when was this trace created in foxdeli system
moment in time when tracking event that represents this trace happened in carrier tracking system
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
tracking number of parcel related to tracking event
identifier of parcel tracking state in carrier tracking system
optional text containing additional details related to state of parcel
issueTracking
object
details about issue tracking related to timeline records of type ISSUE_TRACKING
Products from order that are contained in this parcel
Optional tags assigned to parcel
Possible values: [TRACKING_SUSPENDED
]
Full url to courier's original tracking page. DEPRECATION NOTICE: marked for removal. use activeTracking.url instead.
when was parcel created
2023-09-02T13:05:01.636Z
when was parcel last updated
2023-09-02T19:55:41.301Z
products
object[]
required
Products contained in this order
Type of product
Possible values: [PRODUCT
, DIGITAL_PRODUCT
, SERVICE
, GIFT
, DISCOUNT
, VOUCHER
]
PRODUCT
product SKU
A1234
name of product
Awesome product
short product description.
So awesome you must have it!
url of product detail.
https://mycoolshop.com/product/A1234
url of product image.
https://mycoolshop.com/img/product/A1234.png
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
VAT value
23.5
quantity ordered
Possible values: >= 1
1
reference to the SKU of the product it belongs to, e.g. extended warranty. references product within same order
A9999
recommendedProducts
object[]
required
Products to be displayed in Recommended Products TnT/email module
Type of product
Possible values: [PRODUCT
, DIGITAL_PRODUCT
, SERVICE
, GIFT
, DISCOUNT
, VOUCHER
]
PRODUCT
product SKU
A1234
name of product
Awesome product
short product description.
So awesome you must have it!
url of product detail.
https://mycoolshop.com/product/A1234
url of product image.
https://mycoolshop.com/img/product/A1234.png
price
object
amount of money in given currency
amount of money
99.96
currency of amount in ISO-4217 format
CZK
Instant of cancellation. DEPRECATION NOTICE: field is marked for removal and will be removed in one of next major releases
is order in urgent state?
true
is order in important state?
true
is order in malfunction state?
true
snooze
object
Snooze details
moment in time until which order is snoozed
2022-02-16T10:48:11Z
author of snooze
John Doe
snooze note
Resolved
is snooze currently active?
false
moment in time when was order created
2023-09-02T13:05:01.636Z
moment in time when was order last updated
2023-09-02T19:55:41.301Z
(Foxdeli storage) URL of the invoice that belongs to this order (optional)
https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf
(Foxdeli storage) URL of the proforma invoice that belongs to this order (optional)
https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf
files
object[]
required
List of files attached to order
identifier of file
name of a file
url to access file content
content type of file
links
object
required
trackAndTrace
object
required
link to a resource
billingDetails
object
Billing details
Name
John Doe
Company name
Doe Ltd
billingAddress
object
Address details
address line1
Sesame street
address line2
11b
MyCoolCity
48228
ISO-3166 code of country where ParcelShop/Box is located
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
]
US
optional address state
Michigan
optional address region
Michigan
GPS longitude
50.0933864
GPS latitude
14.4542789
Company Registration Number
12345678
Value Added Tax Number
CZ12345678
Email address
johndoe@mail.com
Phone number
+420 123 456 789
Order language - two letter language code - ISO-639-1
Possible values: [undefined
, aa
, ab
, ae
, af
, ak
, am
, an
, ar
, as
, av
, ay
, az
, ba
, be
, bg
, bh
, bi
, bm
, bn
, bo
, br
, bs
, ca
, ce
, ch
, co
, cr
, cs
, cu
, cv
, cy
, da
, de
, dv
, dz
, ee
, el
, en
, eo
, es
, et
, eu
, fa
, ff
, fi
, fj
, fo
, fr
, fy
, ga
, gd
, gl
, gn
, gu
, gv
, ha
, he
, hi
, ho
, hr
, ht
, hu
, hy
, hz
, ia
, id
, ie
, ig
, ii
, ik
, io
, is
, it
, iu
, ja
, jv
, ka
, kg
, ki
, kj
, kk
, kl
, km
, kn
, ko
, kr
, ks
, ku
, kv
, kw
, ky
, la
, lb
, lg
, li
, ln
, lo
, lt
, lu
, lv
, mg
, mh
, mi
, mk
, ml
, mn
, mr
, ms
, mt
, my
, na
, nb
, nd
, ne
, ng
, nl
, nn
, no
, nr
, nv
, ny
, oc
, oj
, om
, or
, os
, pa
, pi
, pl
, ps
, pt
, qu
, rm
, rn
, ro
, ru
, rw
, sa
, sc
, sd
, se
, sg
, si
, sk
, sl
, sm
, sn
, so
, sq
, sr
, ss
, st
, su
, sv
, sw
, ta
, te
, tg
, th
, ti
, tk
, tl
, tn
, to
, tr
, ts
, tt
, tw
, ty
, ug
, uk
, ur
, uz
, ve
, vi
, vo
, wa
, wo
, xh
, yi
, yo
, za
, zh
, zu
]
cs
externalLinks
object[]
deprecated
list of order external links. DEPRECATION NOTICE: marked for removal. use communication.externalLinks
instead.
link name
Invoice
link url
https://example.com/invoice.pdf
External Link Icon
Possible values: [LINK
, FILE
]
FILE
communication
object
required
Customization of communication for given order
optional url of order in external system; typically order url in eshop. if not explicitly provided in request, existing value remains unchanged.
externalLinks
object[]
link name
Invoice
link url
https://example.com/invoice.pdf
External Link Icon
Possible values: [LINK
, FILE
]
FILE
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "shopify",
"orderNumber": "A123456789",
"orderState": "IN_TRANSIT",
"marketId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"eshopId": "edf4b2ec-c1fc-42da-ba86-eb3a236cd565",
"externalCreated": "2012-12-31T23:59:59Z",
"externalIdentifier": "ORD123456789",
"destination": {
"type": "HOUSE_ADDRESS",
"address": {
"line1": "Sesame street",
"line2": "11b",
"city": "MyCoolCity",
"postalCode": "48228",
"countryCode": "US",
"state": "Michigan",
"region": "Michigan",
"longitude": 50.0933864,
"latitude": 14.4542789
},
"parcelShop": {
"carrier": "GLS",
"countryCode": "US",
"parcelShopId": "A1234",
"pickupPlaceId": "string",
"businessHours": "string"
}
},
"price": {
"amount": 99.96,
"currency": "CZK"
},
"additionalCosts": [
{
"type": "SHIPPING",
"price": {
"amount": 99.96,
"currency": "CZK"
},
"name": "Home delivery"
}
],
"cashOnDelivery": {
"amount": 99.96,
"currency": "CZK"
},
"payment": {
"state": "PAID",
"tag": "AWAITING_30MIN",
"method": "CASH_ON_DELIVERY",
"service": "PAYPAL",
"link": "https://pay.me"
},
"customer": {
"name": "John Doe",
"email": "iboughtsomething@customer.com",
"phone": "+420 123 456 789"
},
"parcels": [
{
"id": "2b54b81f-1ba6-4196-acc9-894d958bbce7",
"orderId": "1cad6be8-5bcc-43ff-b9be-a4ed53a2bce1",
"externalCreated": "2012-12-31T23:59:59Z",
"dimensions": {
"weight": 1.2,
"height": 25,
"length": 30,
"width": 20
},
"deliveryDetails": {
"estimatedDeliveryDate": "2024-04-18",
"delay": {
"delayed": true,
"reason": "The manufacturer is on strike"
}
},
"pin": "string",
"state": {
"delivery": "STORED_FOR_PICKUP",
"deliverToday": true,
"returning": true
},
"trackingState": "AWAITING",
"maxStoreDate": "2024-07-29T15:51:28.071Z",
"deliveryWindow": {
"from": "2024-07-29T15:51:28.071Z",
"to": "2024-07-29T15:51:28.071Z"
},
"activeTracking": {
"trackingId": "2b54b81f-1ba6-4196-acc9-894d958bbce7",
"carrier": "GLS",
"number": "A1234567890",
"url": "https://gls-group.eu/CZ/cs/sledovani-zasilek?match=A1234567890",
"referenceId": "ax72dd",
"carrierConfigurationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"courierPhone": "string"
},
"timeline": [
{
"timelineId": "12345678-1234-1234-1234-1234567890ab",
"type": "NOTE",
"text": "The client has changed the payment type",
"created": "2022-02-16T10:48:11Z",
"author": "Malina Red",
"additionalParams": {
"shippingEmail": {
"recipient": "string",
"emailId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"emailConfigId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"campaignId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"state": "IN_TRANSIT",
"event": "EMAIL_SENT",
"occurred": "2024-07-29T15:51:28.071Z"
},
"parcelState": {
"delivery": "STORED_FOR_PICKUP",
"deliverToday": true,
"returning": true
},
"parcelStateGroup": "string",
"issueTracking": {
"type": "string",
"externalUrl": "string"
}
}
}
],
"products": [
"string"
],
"tags": [
"TRACKING_SUSPENDED"
],
"created": "2023-09-02T13:05:01.636Z",
"updated": "2023-09-02T19:55:41.301Z"
}
],
"products": [
{
"type": "PRODUCT",
"sku": "A1234",
"name": "Awesome product",
"description": "So awesome you must have it!",
"url": "https://mycoolshop.com/product/A1234",
"image": "https://mycoolshop.com/img/product/A1234.png",
"price": {
"amount": 99.96,
"currency": "CZK"
},
"vat": 23.5,
"quantity": 1,
"referencedSku": "A9999"
}
],
"recommendedProducts": [
{
"type": "PRODUCT",
"sku": "A1234",
"name": "Awesome product",
"description": "So awesome you must have it!",
"url": "https://mycoolshop.com/product/A1234",
"image": "https://mycoolshop.com/img/product/A1234.png",
"price": {
"amount": 99.96,
"currency": "CZK"
}
}
],
"inUrgentState": true,
"inImportantState": true,
"malfunction": true,
"snooze": {
"until": "2022-02-16T10:48:11Z",
"author": "John Doe",
"note": "Resolved",
"snoozed": false
},
"created": "2023-09-02T13:05:01.636Z",
"updated": "2023-09-02T19:55:41.301Z",
"invoiceFileUrl": "https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf",
"proformaInvoiceFileUrl": "https://storage.url/invoices/11111111-2222-3333-4444-555555555555/123456.pdf",
"files": [
{
"id": "string",
"name": "string",
"url": "string",
"contentType": "string"
}
],
"links": {
"trackAndTrace": {
"href": "string"
}
},
"billingDetails": {
"name": "John Doe",
"companyName": "Doe Ltd",
"billingAddress": {
"line1": "Sesame street",
"line2": "11b",
"city": "MyCoolCity",
"postalCode": "48228",
"countryCode": "US",
"state": "Michigan",
"region": "Michigan",
"longitude": 50.0933864,
"latitude": 14.4542789
},
"crn": "12345678",
"vatId": "CZ12345678",
"email": "johndoe@mail.com",
"phone": "+420 123 456 789"
},
"language": "cs",
"communication": {
"optional url of order in external system; typically order url in eshop": "string",
"externalLinks": [
{
"name": "Invoice",
"url": "https://example.com/invoice.pdf",
"icon": "FILE"
}
]
}
}
Constraint violation
- */*
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Invalid API token provided.
- application/problem+json
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
AccessDeniedException
- */*
- Schema
- Example (from schema)
Schema
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Order with provided id was not found
- 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": {}
}