• I’m have a site where I sell oils and one of makers of the oils sent me this info to add to my wordpress website in order to have their shopping cart (complete with their products, pricing, checkout, etc). I added the API plugin but there is no place to enter this info. Any help is appreciated.

    Below is the info they sent to me.

    The API accepts JSON encoded strings
    Initial request params:
    consumerKey: 8LMGEjJ9rDgn82KACX3l49oRP3yqz7JIGAmN3UZ9krPNnD5cma
    consumerSecret: FDGjUOcyeqG7ToX0koHQ68ipPaKHb9
    action: request_token
    URL: https://butterflyexpress.net/api/server

    Main Request params:
    consumerKey:8LMGEjJ9rDgn82KACX3l49oRP3yqz7JIGAmN3UZ9krPNnD5cma
    consumerSecret:FDGjUOcyeqG7ToX0koHQ68ipPaKHb9
    token: returned from previous request
    action:process_request
    command:sendorder
    body:
    “order_id”:”int(11)” – Your site order id
    “user_id”:null – Always Null
    “contact_id”:”int(11)” – Your site contact id
    “shipping_id”:”int(11)” – Your site shipping id
    “order_date”:”YYYY/MM/DD” – date order was purchased
    “special_instr”:”varchar ”
    “products”:[{“product_sku”:”varchar”,”qty”:”int(11)”},{“product_sku”:”varchar”,”qty”:”int(11)”}] – Multiple Products
    “contactBilling”:{“id”:”int(11)”,”first_name”:”varchar(200)”,”last_name”:”varchar(200)”,”street_address”:”varchar(200)”,”address_2″: varchar(200),”city”:”varchar(200)”,”state”:”varchar(2)”,”zip”:”int(5)”,”country”:”varchar(3)”,”email”:”varchar(200)”,”phone”:”xxx-xxx-xxxx”,”company”:”varchar(200)”},
    “contactShipping”:{“id”:”int(11)”,”first_name”:”varchar(200)”,”last_name”:”varchar(200)”,”street_address”:”varchar(200)”,”address_2″: varchar(200),”city”:”varchar(200)”,”state”:”varchar(2)”,”zip”:”int(5)”,”country”:”varchar(3)”,”email”:”varchar(200)”,”phone”:”xxx-xxx-xxxx”,”company”:”varchar(200)”} – fax optional

  • The topic ‘Adding API for shopping feature’ is closed to new replies.