Skip to content

Instantly share code, notes, and snippets.

@mrkschan
Created January 7, 2013 07:44
Show Gist options
  • Save mrkschan/4473151 to your computer and use it in GitHub Desktop.
Save mrkschan/4473151 to your computer and use it in GitHub Desktop.
{
'subtotal_price': Decimal('38.0'),
'buyer_accepts_marketing': True,
'shipping_lines': [{
'source': 'shopify',
'price': Decimal('10.0'),
'code': 'Standard Shipping',
'title': 'Standard Shipping'
}],
'cart_token': None,
'updated_at': datetime.datetime(2013, 1, 6, 23, 51, 40, tzinfo = tzoffset(None, -18000)),
'taxes_included': False,
'currency': 'USD',
'total_weight': 0,
'closed_at': None,
'gateway': 'bogus',
'discount_codes': [],
'fulfillments': [{
'status': 'success',
'line_items': [{
'sku': None,
'properties': [],
'vendor': None,
'grams': 0,
'title': 'Medium',
'price': Decimal('19.0'),
'requires_shipping': True,
'name': 'Medium',
'fulfillment_status': 'fulfilled',
'product_id': 116774712,
'variant_inventory_management': None,
'fulfillment_service': 'manual',
'variant_id': 266462702,
'variant_title': None,
'id': 253976012,
'quantity': 1
}, {
'sku': None,
'properties': [],
'vendor': None,
'grams': 0,
'title': 'Medium',
'price': Decimal('19.0'),
'requires_shipping': True,
'name': 'Medium',
'fulfillment_status': 'fulfilled',
'product_id': 116774720,
'variant_inventory_management': None,
'fulfillment_service': 'manual',
'variant_id': 266462710,
'variant_title': None,
'id': 253976014,
'quantity': 1
}],
'receipt': '\n ',
'service': 'manual',
'order_id': 153978668,
'created_at': datetime.datetime(2013, 1, 6, 23, 51, 40, tzinfo = tzoffset(None, -18000)),
'tracking_urls': ['http://www.google.com/search?q=941'],
'updated_at': datetime.datetime(2013, 1, 6, 23, 51, 40, tzinfo = tzoffset(None, -18000)),
'tracking_url': 'http://www.google.com/search?q=941',
'tracking_number': 941,
'tracking_numbers': [941],
'tracking_company': None,
'id': 74947964
}],
'token': '4e696f67a8af73ce39087f3cb8f2d9b0',
'financial_status': 'paid',
'id': 153978668,
'note': None,
'landing_site': None,
'processing_method': None,
'total_line_items_price': Decimal('38.0'),
'cancelled_at': None,
'email': 'karli.towne@example.com',
'total_tax': Decimal('0.0'),
'billing_address': {
'province': 'Arizona',
'city': 'Lake Havasu City',
'first_name': 'Devin',
'last_name': 'Bradly',
'name': 'Devin Bradly',
'zip': '86406',
'province_code': 'AZ',
'address1': '050 Odessa Locks',
'company': None,
'longitude': Decimal('-113.833496'),
'phone': '1-307-246-0577 x81826',
'country_code': 'US',
'country': 'United States',
'latitude': Decimal('34.679884'),
'address2': None
},
'cancel_reason': None,
'tax_lines': [],
'landing_site_ref': None,
'number': 3,
'total_discounts': Decimal('0.0'),
'customer': {
'total_spent': Decimal('0.0'),
'first_name': 'Devin',
'last_name': 'Bradly',
'orders_count': 0,
'created_at': datetime.datetime(2013, 1, 6, 23, 51, 40, tzinfo = tzoffset(None, -18000)),
'tags': None,
'updated_at': datetime.datetime(2013, 1, 6, 23, 51, 40, tzinfo = tzoffset(None, -18000)),
'email': 'karli.towne@example.com',
'note': None,
'state': 'disabled',
'last_order_name': None,
'accepts_marketing': True,
'id': 109238056,
'last_order_id': None
},
'browser_ip': None,
'referring_site': None,
'line_items': [{
'sku': None,
'properties': [],
'vendor': None,
'grams': 0,
'title': 'Medium',
'price': Decimal('19.0'),
'requires_shipping': True,
'name': 'Medium',
'fulfillment_status': 'fulfilled',
'product_id': 116774712,
'variant_inventory_management': None,
'fulfillment_service': 'manual',
'variant_id': 266462702,
'variant_title': None,
'id': 253976012,
'quantity': 1
}, {
'sku': None,
'properties': [],
'vendor': None,
'grams': 0,
'title': 'Medium',
'price': Decimal('19.0'),
'requires_shipping': True,
'name': 'Medium',
'fulfillment_status': 'fulfilled',
'product_id': 116774720,
'variant_inventory_management': None,
'fulfillment_service': 'manual',
'variant_id': 266462710,
'variant_title': None,
'id': 253976014,
'quantity': 1
}],
'total_price': Decimal('48.0'),
'name': '#1003',
'created_at': datetime.datetime(2013, 1, 6, 23, 51, 39, tzinfo = tzoffset(None, -18000)),
'note_attributes': [],
'fulfillment_status': 'fulfilled',
'total_price_usd': Decimal('48.0'),
'shipping_address': {
'province': 'Arizona',
'city': 'Lake Havasu City',
'first_name': 'Devin',
'last_name': 'Bradly',
'name': 'Devin Bradly',
'zip': '86406',
'province_code': 'AZ',
'address1': '050 Odessa Locks',
'company': None,
'longitude': Decimal('-113.833496'),
'phone': '1-307-246-0577 x81826',
'country_code': 'US',
'country': 'United States',
'latitude': Decimal('34.679884'),
'address2': None
},
'order_number': 1003
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment