{ "type": "object", "properties": { "orders": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "app_id": { "type": "string" }, "browser_ip": { "type": "string" }, "buyer_accepts_marketing": { "type": "bool" }, "cancel_reason": { "type": "string" }, "cancelled_at": { "type": "string" }, "cart_token": { "type": "string" }, "checkout_id": { "type": "int" }, "checkout_token": { "type": "string" }, "client_details": { "type": "object", "properties": { "accept_language": { "type": "string" }, "browser_height": { "type": "string" }, "browser_ip": { "type": "string" }, "browser_width": { "type": "string" }, "session_hash": { "type": "string" }, "user_agent": { "type": "string" } } }, "closed_at": { "type": "string" }, "confirmed": { "type": "bool" }, "contact_email": { "type": "string" }, "created_at": { "type": "string" }, "currency": { "type": "string" }, "current_subtotal_price": { "type": "string" }, "current_subtotal_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "current_total_discounts": { "type": "string" }, "current_total_discounts_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "current_total_duties_set": { "type": "string" }, "current_total_price": { "type": "string" }, "current_total_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "current_total_tax": { "type": "string" }, "current_total_tax_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "customer_locale": { "type": "string" }, "device_id": { "type": "string" }, "discount_codes": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "amount": { "type": "string" }, "type": { "type": "string" } } } }, "email": { "type": "string" }, "estimated_taxes": { "type": "bool" }, "financial_status": { "type": "string" }, "fulfillment_status": { "type": "string" }, "gateway": { "type": "string" }, "landing_site": { "type": "string" }, "landing_site_ref": { "type": "string" }, "location_id": { "type": "string" }, "name": { "type": "string" }, "note": { "type": "string" }, "note_attributes": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } } }, "number": { "type": "int" }, "order_number": { "type": "int" }, "order_status_url": { "type": "string" }, "original_total_duties_set": { "type": "string" }, "payment_gateway_names": { "type": "array", "items": { "type": "string" } }, "phone": { "type": "string" }, "presentment_currency": { "type": "string" }, "processed_at": { "type": "string" }, "processing_method": { "type": "string" }, "reference": { "type": "string" }, "referring_site": { "type": "string" }, "source_identifier": { "type": "string" }, "source_name": { "type": "string" }, "source_url": { "type": "string" }, "subtotal_price": { "type": "string" }, "subtotal_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "tags": { "type": "string" }, "tax_lines": { "type": "array", "items": { "type": "object", "properties": { "price": { "type": "string" }, "rate": { "type": "string" }, "title": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } } } } }, "taxes_included": { "type": "bool" }, "test": { "type": "bool" }, "token": { "type": "string" }, "total_discounts": { "type": "string" }, "total_discounts_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_line_items_price": { "type": "string" }, "total_line_items_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_outstanding": { "type": "string" }, "total_price": { "type": "string" }, "total_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_price_usd": { "type": "string" }, "total_shipping_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_tax": { "type": "string" }, "total_tax_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_tip_received": { "type": "string" }, "total_weight": { "type": "int" }, "updated_at": { "type": "string" }, "user_id": { "type": "string" }, "billing_address": { "type": "object", "properties": { "first_name": { "type": "string" }, "address1": { "type": "string" }, "phone": { "type": "string" }, "city": { "type": "string" }, "zip": { "type": "string" }, "province": { "type": "string" }, "country": { "type": "string" }, "last_name": { "type": "string" }, "address2": { "type": "string" }, "company": { "type": "string" }, "latitude": { "type": "string" }, "longitude": { "type": "string" }, "name": { "type": "string" }, "country_code": { "type": "string" }, "province_code": { "type": "string" } } }, "customer": { "type": "object", "properties": { "id": { "type": "int" }, "email": { "type": "string" }, "accepts_marketing": { "type": "bool" }, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "orders_count": { "type": "int" }, "state": { "type": "string" }, "total_spent": { "type": "string" }, "last_order_id": { "type": "int" }, "note": { "type": "string" }, "verified_email": { "type": "bool" }, "multipass_identifier": { "type": "string" }, "tax_exempt": { "type": "bool" }, "phone": { "type": "string" }, "tags": { "type": "string" }, "currency": { "type": "string" }, "last_order_name": { "type": "string" }, "accepts_marketing_updated_at": { "type": "string" }, "marketing_opt_in_level": { "type": "string" }, "admin_graphql_api_id": { "type": "string" }, "default_address": { "type": "object", "properties": { "id": { "type": "int" }, "customer_id": { "type": "int" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "company": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "city": { "type": "string" }, "province": { "type": "string" }, "country": { "type": "string" }, "zip": { "type": "string" }, "phone": { "type": "string" }, "name": { "type": "string" }, "province_code": { "type": "string" }, "country_code": { "type": "string" }, "country_name": { "type": "string" }, "default": { "type": "bool" } } } } }, "discount_applications": { "type": "array", "items": { "type": "object", "properties": { "target_type": { "type": "string" }, "type": { "type": "string" }, "value": { "type": "string" }, "value_type": { "type": "string" }, "allocation_method": { "type": "string" }, "target_selection": { "type": "string" }, "code": { "type": "string" } } } }, "fulfillments": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "created_at": { "type": "string" }, "location_id": { "type": "int" }, "name": { "type": "string" }, "order_id": { "type": "int" }, "origin_address": { "type": "object" }, "receipt": { "type": "object", "properties": { "testcase": { "type": "bool" }, "authorization": { "type": "string" } } }, "service": { "type": "string" }, "shipment_status": { "type": "string" }, "status": { "type": "string" }, "tracking_company": { "type": "string" }, "tracking_number": { "type": "string" }, "tracking_numbers": { "type": "array", "items": { "type": "string" } }, "tracking_url": { "type": "string" }, "tracking_urls": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" }, "line_items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "fulfillable_quantity": { "type": "int" }, "fulfillment_service": { "type": "string" }, "fulfillment_status": { "type": "string" }, "gift_card": { "type": "bool" }, "grams": { "type": "int" }, "name": { "type": "string" }, "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "product_exists": { "type": "bool" }, "product_id": { "type": "int" }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } } }, "quantity": { "type": "int" }, "requires_shipping": { "type": "bool" }, "sku": { "type": "string" }, "taxable": { "type": "bool" }, "title": { "type": "string" }, "total_discount": { "type": "string" }, "total_discount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "variant_id": { "type": "int" }, "variant_inventory_management": { "type": "string" }, "variant_title": { "type": "string" }, "vendor": { "type": "string" }, "tax_lines": { "type": "array", "items": { "type": "object", "properties": { "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "rate": { "type": "string" }, "title": { "type": "string" } } } }, "discount_allocations": { "type": "array", "items": { "type": "object", "properties": { "amount": { "type": "string" }, "amount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "discount_application_index": { "type": "int" } } } } } } } } } }, "line_items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "fulfillable_quantity": { "type": "int" }, "fulfillment_service": { "type": "string" }, "fulfillment_status": { "type": "string" }, "gift_card": { "type": "bool" }, "grams": { "type": "int" }, "name": { "type": "string" }, "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "product_exists": { "type": "bool" }, "product_id": { "type": "int" }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } } }, "quantity": { "type": "int" }, "requires_shipping": { "type": "bool" }, "sku": { "type": "string" }, "taxable": { "type": "bool" }, "title": { "type": "string" }, "total_discount": { "type": "string" }, "total_discount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "variant_id": { "type": "int" }, "variant_inventory_management": { "type": "string" }, "variant_title": { "type": "string" }, "vendor": { "type": "string" }, "tax_lines": { "type": "array", "items": { "type": "object", "properties": { "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "rate": { "type": "string" }, "title": { "type": "string" } } } }, "discount_allocations": { "type": "array", "items": { "type": "object", "properties": { "amount": { "type": "string" }, "amount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "discount_application_index": { "type": "int" } } } } } } }, "payment_details": { "type": "object", "properties": { "credit_card_bin": { "type": "string" }, "avs_result_code": { "type": "string" }, "cvv_result_code": { "type": "string" }, "credit_card_number": { "type": "string" }, "credit_card_company": { "type": "string" }, "buyer_action_info": { "type": "string" } } }, "payment_terms": { "type": "string" }, "refunds": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "created_at": { "type": "string" }, "note": { "type": "string" }, "order_id": { "type": "int" }, "processed_at": { "type": "string" }, "restock": { "type": "bool" }, "total_duties_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "user_id": { "type": "int" }, "transactions": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "amount": { "type": "string" }, "authorization": { "type": "string" }, "created_at": { "type": "string" }, "currency": { "type": "string" }, "device_id": { "type": "string" }, "error_code": { "type": "string" }, "gateway": { "type": "string" }, "kind": { "type": "string" }, "location_id": { "type": "string" }, "message": { "type": "string" }, "order_id": { "type": "int" }, "parent_id": { "type": "int" }, "processed_at": { "type": "string" }, "receipt": { "type": "object" }, "source_name": { "type": "string" }, "status": { "type": "string" }, "test": { "type": "bool" }, "user_id": { "type": "string" } } } }, "refund_line_items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "line_item_id": { "type": "int" }, "location_id": { "type": "int" }, "quantity": { "type": "int" }, "restock_type": { "type": "string" }, "subtotal": { "type": "string" }, "subtotal_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "total_tax": { "type": "string" }, "total_tax_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "line_item": { "type": "object", "properties": { "id": { "type": "int" }, "admin_graphql_api_id": { "type": "string" }, "fulfillable_quantity": { "type": "int" }, "fulfillment_service": { "type": "string" }, "fulfillment_status": { "type": "string" }, "gift_card": { "type": "bool" }, "grams": { "type": "int" }, "name": { "type": "string" }, "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "product_exists": { "type": "bool" }, "product_id": { "type": "int" }, "quantity": { "type": "int" }, "requires_shipping": { "type": "bool" }, "sku": { "type": "string" }, "taxable": { "type": "bool" }, "title": { "type": "string" }, "total_discount": { "type": "string" }, "total_discount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "variant_id": { "type": "int" }, "variant_inventory_management": { "type": "string" }, "variant_title": { "type": "string" }, "vendor": { "type": "string" }, "tax_lines": { "type": "array", "items": { "type": "object", "properties": { "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "rate": { "type": "string" }, "title": { "type": "string" } } } }, "discount_allocations": { "type": "array", "items": { "type": "object", "properties": { "amount": { "type": "string" }, "amount_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "discount_application_index": { "type": "int" } } } }, "properties": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } } } } } } } } } } }, "shipping_address": { "type": "object", "properties": { "first_name": { "type": "string" }, "address1": { "type": "string" }, "phone": { "type": "string" }, "city": { "type": "string" }, "zip": { "type": "string" }, "province": { "type": "string" }, "country": { "type": "string" }, "last_name": { "type": "string" }, "address2": { "type": "string" }, "company": { "type": "string" }, "latitude": { "type": "string" }, "longitude": { "type": "string" }, "name": { "type": "string" }, "country_code": { "type": "string" }, "province_code": { "type": "string" } } }, "shipping_lines": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "int" }, "carrier_identifier": { "type": "string" }, "code": { "type": "string" }, "delivery_category": { "type": "string" }, "discounted_price": { "type": "string" }, "discounted_price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "phone": { "type": "string" }, "price": { "type": "string" }, "price_set": { "type": "object", "properties": { "shop_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } }, "presentment_money": { "type": "object", "properties": { "amount": { "type": "string" }, "currency_code": { "type": "string" } } } } }, "requested_fulfillment_service_id": { "type": "string" }, "source": { "type": "string" }, "title": { "type": "string" } } } } } } } } }