# OR12 - Get information about an order (deprecated) Call FrequencyRecommended usage: On each order page viewMaximum usage: On each order page view Endpoint: GET /api/orders/{order_id} ## Path parameters: - `order_id` (string, required) Order's identifier ## Query parameters: - `shop_id` (integer) Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used. ## Response 200 fields (application/json): - `acceptance_decision_date` (string, required) The date when the shop decided to accept or refuse the order - `commercial_id` (string, required) Commercial's identifier of the order - `created_date` (string, required) Order's creation date - `customer` (object) Information of the customer who ordered - `customer.billing_address` (object, required) - `customer.billing_address.city` (string, required) Address city - `customer.billing_address.civility` (string) Civility of the person associated with the address - `customer.billing_address.company` (string) Company of the person associated with the address - `customer.billing_address.country` (string, required) Address country - `customer.billing_address.country_iso_code` (string, required) Country ISO 3166-1 code of the address Enum: "AFG", "ALA", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "KHM", "CMR", "CAN", "CPV", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COG", "COD", "COK", "CRI", "CIV", "HRV", "CUB", "CUW", "CYP", "CZE", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MKD", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "REU", "ROU", "RUS", "RWA", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SUR", "SJM", "SWZ", "SWE", "CHE", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "USA", "UMI", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "YEM", "ZMB", "ZWE" - `customer.billing_address.firstname` (string) First name of the person associated with the address - `customer.billing_address.lastname` (string, required) Last name of the person associated with the address - `customer.billing_address.phone` (string) Phone - `customer.billing_address.phone_secondary` (string) Phone secondary - `customer.billing_address.state` (string) Address state - `customer.billing_address.street_1` (string, required) First information line of the address street - `customer.billing_address.street_2` (string) Second information line of the address street - `customer.billing_address.zip_code` (string) Address zip code - `customer.civility` (string) - `customer.customer_id` (string, required) - `customer.firstname` (string, required) - `customer.lastname` (string, required) - `customer.shipping_address` (object, required) - `customer.shipping_address.additional_info` (string) - `has_customer_message` (boolean, required) Indicate if the customer has sent a message related to this order - `has_incident` (boolean, required) Indicate if order has an incident on at least one order line - `has_invoice` (boolean, required) Is an invoice available for this order. - `last_updated_date` (string, required) Last update date of the order - `order_id` (string, required) Order's identifier - `order_lines` (array, required) Order lines - `order_lines.can_refund` (boolean, required) - `order_lines.category_code` (string, required) - `order_lines.category_label` (string, required) - `order_lines.commission_fee` (number, required) - `order_lines.commission_rate_vat` (number, required) - `order_lines.commission_vat` (number, required) - `order_lines.created_date` (string, required) - `order_lines.debited_date` (string, required) - `order_lines.description` (string, required) - `order_lines.last_updated_date` (string, required) - `order_lines.offer_id` (integer, required) - `order_lines.offer_sku` (string, required) - `order_lines.offer_state_code` (string, required) - `order_lines.order_line_additional_fields` (array, required) - `order_lines.order_line_additional_fields.code` (string, required) Custom field's code - `order_lines.order_line_additional_fields.type` (string) Custom field's type Enum: "STRING", "DATE", "NUMERIC", "BOOLEAN", "LINK", "REGEX", "TEXTAREA", "LIST", "MULTIPLE_VALUES_LIST" - `order_lines.order_line_id` (string, required) - `order_lines.order_line_index` (integer, required) - `order_lines.order_line_state` (string, required) Order line's state Enum: "STAGING", "WAITING_ACCEPTANCE", "WAITING_DEBIT", "WAITING_DEBIT_PAYMENT", "SHIPPING", "SHIPPED", "TO_COLLECT", "RECEIVED", "CLOSED", "REFUSED", "CANCELED", "INCIDENT_OPEN", "REFUNDED", "WAITING_REFUND", "WAITING_REFUND_PAYMENT" - `order_lines.order_line_state_reason_code` (string, required) - `order_lines.order_line_state_reason_label` (string, required) - `order_lines.price` (number, required) - `order_lines.price_additional_info` (string) - `order_lines.price_unit` (number, required) - `order_lines.product_sku` (string, required) - `order_lines.product_title` (string, required) - `order_lines.quantity` (integer, required) - `order_lines.received_date` (string, required) - `order_lines.shipped_date` (string, required) - `order_lines.shipping_price` (number, required) - `order_lines.total_commission` (number, required) - `order_lines.total_price` (number, required) - `order_lines.shipping_price_additional_unit` (number, required) - `order_lines.shipping_price_unit` (number, required) - `order_state` (string, required) Order's state Enum: "STAGING", "WAITING_ACCEPTANCE", "WAITING_DEBIT", "WAITING_DEBIT_PAYMENT", "SHIPPING", "SHIPPED", "TO_COLLECT", "RECEIVED", "CLOSED", "REFUSED", "CANCELED" - `order_state_reason_code` (string, required) Reason code of the order state - `order_state_reason_label` (string, required) Reason label of the order state - `payment_type` (string, required) Payment's type used by the customer to pay this order - `price` (number, required) Order's price (sum of order line price) - `shipping_company` (string) Shipping company - `shipping_price` (number, required) Order's shipping price (sum of order line shipping price) - `shipping_tracking` (string) Shipping tracking - `shipping_tracking_url` (string) Shipping tracking url - `shipping_type_code` (string, required) Code of shipping's type - `shipping_type_label` (string, required) Label of shipping's type - `shipping_zone_code` (string, required) Code of shipping's zone - `shipping_zone_label` (string, required) Label of shipping's zone - `total_commission` (number, required) Order's total commission (sum of the order line total commission) - `total_price` (number, required) Order's total price (sum of the order price and the order shipping price) - `paymentType` (string, required) Payment's type used by the customer to pay this order