https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=5037
{"orders":[{"acceptance_decision_date":"2024-07-31T19:46:11Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"22740819601","created_date":"2024-07-31T19:46:10Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"EL BOSQUE","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Maria","lastname":"Marin","phone":"985413754","phone_secondary":"985413754","state":"REG.METROPOLITANA","street_1":"Julio Covarrubia 9812","street_2":null},"civility":null,"customer_id":"120180711","firstname":"Maria","lastname":"Marin","locale":null,"shipping_address":{"additional_info":null,"city":"EL BOSQUE","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Maria","lastname":"Marin","phone":"985413754","phone_secondary":"985413754","state":"REG.METROPOLITANA","street_1":"Julio Covarrubia 9812","street_2":"Casa"}},"customer_debited_date":"2024-07-31T19:46:12.146Z","customer_directly_pays_seller":false,"customer_notification_email":"rdueduqnppj.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"discount_campaigns":[],"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":false,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2025-06-01T08:00:06Z","leadtime_to_ship":42,"order_additional_fields":[{"code":"commiteddate","type":"DATE","value":"2024-09-30T04:00:00Z"},{"code":"ffconsignado","type":"STRING","value":"false"},{"code":"storecode","type":"STRING","value":"4127"}],"order_id":"22740819601-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"R140702000000","category_label":"MOCHILAS DE TRABAJO Y ESCOLAR","commission_fee":7049,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2024-07-31T19:46:10Z","debited_date":"2024-07-31T19:46:12Z","description":null,"fees":[],"last_updated_date":"2025-06-01T08:00:06Z","offer_id":8547426,"offer_sku":"B082MGLWDZ","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"22740819601-A-1","order_line_index":1,"order_line_state":"CLOSED","order_line_state_reason_code":"AUTO_CLOSED","order_line_state_reason_label":"Cerrado autom\u00e1ticamente","price":46990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":46990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":46990,"product_medias":[{"media_url":"\/media\/product\/image\/0e5c1432-9c41-4f45-9f22-c0b13203953f","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/2f3ca1ee-c89a-4359-8843-bb40dcb04e61","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/401bf03d-448a-4b5d-8612-33864917725f","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"B082MGLWDZ","product_sku":"MPM10000249481-1","product_title":"LMEISON MOCHILA PARA NI\u00d1AS MOCHILA ESCOLAR PARA NI\u00d1OS MOCHILA CASUAL PARA MUJER MOCHILAS | Negro","promotions":[],"quantity":1,"received_date":"2024-08-25T04:58:24Z","refunds":[],"shipped_date":"2024-08-25T04:58:22Z","shipping_from":{"address":{"city":null,"country_iso_code":"CHL","state":null,"street_1":null,"street_2":null,"zip_code":null},"warehouse":null},"shipping_price":0,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":7049,"total_price":46990}],"order_refunds":null,"order_state":"CLOSED","order_state_reason_code":"AUTO_CLOSED","order_state_reason_label":"Cerrado autom\u00e1ticamente","order_tax_mode":"TAX_EXCLUDED","order_taxes":null,"paymentType":"TCGATEWAY_RIPLEY_INST","payment_type":"TCGATEWAY_RIPLEY_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":46990,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"references":{"order_reference_for_customer":"Esquina Laura Le\u00f3n Coloma"},"shipping_carrier_code":"FLOTAPROPIA","shipping_carrier_standard_code":null,"shipping_company":"FLOTAPROPIA","shipping_deadline":"2024-09-11T04:00:00.000Z","shipping_price":0,"shipping_pudo_id":null,"shipping_tracking":"22740819601-A","shipping_tracking_url":null,"shipping_type_code":"FP_CENTRAL24","shipping_type_label":"Flujo Flota Propia","shipping_type_standard_code":null,"shipping_zone_code":"13112","shipping_zone_label":"Santiago","total_commission":7049,"total_price":46990}],"total_count":5478}
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Orders.php
Line Number: 544
Backtrace:
File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 544
Function: _error_handler
File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 77
Function: getOrderGlobalShopex2
File: /var/www/html/marketplace/index.php
Line: 315
Function: require_once