https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=3585
{"orders":[{"acceptance_decision_date":"2021-11-26T17:16:34Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"146226022","created_date":"2021-11-26T17:03:34Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"SANTIAGO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Alvaro David","lastname":"Carbullanca","phone_secondary":"95784656","state":"REG.METROPOLITANA","street_1":"Lord Cochrane 1007","street_2":"Depto.DEPTO.703, Piso 7 ","zip_code":" "},"civility":null,"customer_id":"92123073","firstname":"Alvaro David","lastname":"Carbullanca","locale":null,"shipping_address":{"additional_info":"","city":"SANTIAGO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Alvaro David","lastname":"Carbullanca","phone_secondary":"95784656","state":"REG.METROPOLITANA","street_1":"Lord Cochrane 1007","street_2":"Depto.DEPTO.703, Piso 7 ","zip_code":" "}},"customer_debited_date":"2021-11-26T17:33:20.438Z","customer_directly_pays_seller":false,"customer_notification_email":"rl1u4znd7qz.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":false,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2022-09-21T07:03:01Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"promo","type":"TEXTAREA","value":"DESPACHORIPLEY|Despachoripley|despachoripley-DESPACHO_GRATIS_RP_P_SP_TMP_2021_10-10794572:-7000.0"}],"order_id":"146226022-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD160-M","category_label":"Relojera","commission_fee":6298,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2021-11-26T17:03:34Z","debited_date":"2021-11-26T17:33:20Z","description":null,"fees":[],"last_updated_date":"2022-09-21T07:03:01Z","offer_id":2293773,"offer_sku":"B07GJSRK1J","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"289275632","order_line_index":1,"order_line_state":"CLOSED","order_line_state_reason_code":"AUTO_CLOSED","order_line_state_reason_label":"Cerrado autom\u00e1ticamente","price":34990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":34990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":34990,"product_medias":[{"media_url":"\/media\/product\/image\/215b2da9-8ad5-42d7-be77-8a2feffcb310","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/574ffa5f-1133-440d-b4aa-4809de08f33d","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/d467fe35-479e-423f-9ecf-3eff3396559f","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"B07GJSRK1J","product_sku":"MPM00028151640-1","product_title":"DAKOTA EASY CLEAN - RELOJ DE ENFERMERA DE PL\u00c1STICO RESISTENTE AL AGUA CON BANDA DE COLOR TRANSL\u00daCIDO LIGERO | Multicolor","promotions":[],"quantity":1,"received_date":"2021-12-15T03:54:33Z","refunds":[{"amount":34990,"amount_breakdown":{"parts":[{"amount":34990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":6298,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":6298,"created_date":"2021-12-26T22:07:38Z","fees":[],"id":"250577","order_refund_id":"59df3126-6535-45ab-a86e-577ea24de1c6","quantity":1,"reason_code":"REFUND_dt_arauco","refund_state":"REFUNDED","shipping_amount":0,"shipping_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":null,"shipping_price":1657,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":1657,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":6298,"total_price":36647}],"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":34990,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2021-12-01T17:20:20.224Z","shipping_price":1657,"shipping_pudo_id":null,"shipping_tracking":null,"shipping_tracking_url":null,"shipping_type_code":"TomTop","shipping_type_label":"Recibe entre 15 a 20 d\u00edas","shipping_type_standard_code":null,"shipping_zone_code":"13112","shipping_zone_label":"Santiago","total_commission":6298,"total_price":36647}],"total_count":5267}
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