Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Invenco Order Dict

{
  "external_id": "SO12999",
  "type": "Sales Order",
  "channel": "WooCommerce",
  "currency": "AUD",
  "reference": "SO#1234",
  "line_items": [
    {
      "line_number": "1",
      "sku": "ABC123",
      "description": "Blue Widget",
      "qty_ordered": 10,
      "unit_price": 14.95,
      "requires_shipping": true
    },
    {
      "line_number": "2",
      "sku": "XYZ987",
      "description": "Red Widget",
      "qty_ordered": 2,
      "unit_price": 24.95,
      "requires_shipping": true
    }
  ],
  "billing_address": {
    "company_name": "Invenco Pty Ltd",
    "contact_email": "helpdesk@invenco.net",
    "contact_name": "Dave Scott",
    "contact_number": "02 9043 6013",
    "billing_reference": "PO4567",
    "address_type": "Business",
    "address1": "Unit 2",
    "address2": "1 Secombe Place",
    "city": "Moorebank",
    "postcode": "2170",
    "state": "NSW",
    "country": "AU"
  },
  "shipping_address": {
    "company_name": "Invenco Pty Ltd",
    "contact_email": "helpdesk@invenco.net",
    "contact_name": "Dave Scott",
    "contact_number": "02 9043 6013",
    "shipping_reference": "",
    "address_type": "Business",
    "address1": "Unit 2",
    "address2": "1 Secombe Place",
    "city": "Moorebank",
    "postcode": "2170",
    "state": "NSW",
    "country": "AU"
  },
  "shipping_rule": {
    "name": "Standard Shipping",
    "recovery": 12.95
  },
  "tax_rule": {
    "name": "GST",
    "inclusive": true,
    "rate": 0.1
  } 
}
Comment

PREVIOUS NEXT
Code Example
Python :: shere point file uploading to doc repository python 
Python :: replace dataframe column element if element is within a specific list 
Python :: self.stdout.write django 
Python :: postgres fecth python 
Python :: flask-sqlalchemy inserting a dictionary to a database 
Python :: ring Do Again Loop 
Python :: ring Conversion Number 
Python :: tkinter disabled but selectable 
Python :: hacer un programa en python ingresar números enteros obtenga el segundo valor máximo 
Python :: list slicing 
Python :: echo linux with ANSI escape sequence for change output color 
Python :: equivalent of geom smooth function in python using plotline lib 
Python :: Error: Directory not empty @ dir_s_rmdir - /usr/local/Cellar/python/3.7.3 
Python :: OfficeApi 
Python :: raise keyerror(key) from none os.environ 
Python :: django date grater 
Python :: biodiversity 
Python :: how to threshold filter geodataframe by column value 
Python :: ROC plot for h2o package 
Python :: django amzon like app 
Python :: creating environment variable in python 
Python :: while my_input != "exit": 
Python :: how to read json file from s3 bucket into aws glue job 
Python :: i want to check my python code online 
Python :: django edit model without loading from db 
Python :: exterat pdf python 
Python :: timedistributed pytorch 
Python :: how to convert input time value to datetime 
Python :: How to add an item from another set or other data structures (lists, dictionaries, and tuples) to a set by using the update() method. 
Python :: python check vpn ip address 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =