Untitled Document
Results 1 to 9 of 9

Thread: Amazon BUY and ShipRush API

  1. #1
    Need help....

    We currently are using the SR API. We download all of our orders from the shopping sites and then send address info to SR to print a label.

    We now are hoping to send Amazon Prime orders to SR using the same API. Any idea what information we need to send to SR in the API to be able to use the AMAZON account we just set in the SR dashboard?
    Last edited by webteam-r; 12-15-2018 at 08:57 AM.
    Reply With Quote

  2. #2

    Join Date
    Apr 2004
    Posts
    16,606
    SYSOPS is offline
    Please check your email for follow up and example request.

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  3. #3
    Below is info that was requested by SR support. Was informed to post here...

    So we just tested this with a real amazon order. Unfortunately it failed, i've added ordernum and external id as the amazon id and ive added the amazon items with externalitemid as the amazon item id but it doesn't appear to work, here is the error we get:
    Sorry, but the order you are shipping appears not to be an Amazon order. The Amazon carrier can only be used to ship orders placed on the Amazon site. (This is an Amazon requirement.) To set up your own shipping account (postage, FedEx or UPS), please go in to Settings and select Add Shipping Carrier.

    Here is the array i send into the JSAPI:
    var shipment = {
    ShipTo : {
    Name: $('input[name="shipping_firstname"]').val() + ' ' + $('input[name="shipping_lastname"]').val(),
    Company: $('input[name="shipping_company"]').val(),
    Address1: $('input[name="shipping_address_1"]').val(),
    Address2: $('input[name="shipping_address_2"]').val(),
    City: $('input[name="shipping_city"]').val(),
    State: $('select[name="shipping_zone_id"] option:selected').text(),
    PostalCode: $('input[name="shipping_postcode"]').val(),
    Country: $('select[name="shipping_country_id"] option:selected').text(),
    Phone: $('input[name="shipping_telephone"]').val(),
    Email: $('input[name="email"]').val()
    },
    PaymentType: "Amazon",
    EmailNotification: true,
    DeliveryNotification: true,
    ExceptionNotification: true,
    EmailNotificationAddress: $('input[name="email"]').val(),
    DeliveryNotificationAddress: $('input[name="email"]').val(),
    ExceptionNotificationAddress: $('input[name="email"]').val(),
    Packages: [{
    Reference1: "111-5508667-2042663"
    }],
    Commodities: [{

    "CurrencySymbol": "$",
    ExternalItemId: "R14698",
    ItemID: "R14698",
    Description: "Fresh Air Concentrate",
    Quantity: "4",
    Price: "7.475",
    Value: "7.475"
    }],
    Order: {

    ShipTo : {
    Name: $('input[name="shipping_firstname"]').val() + ' ' + $('input[name="shipping_lastname"]').val(),
    Company: $('input[name="shipping_company"]').val(),
    Address1: $('input[name="shipping_address_1"]').val(),
    Address2: $('input[name="shipping_address_2"]').val(),
    City: $('input[name="shipping_city"]').val(),
    State: $('select[name="shipping_zone_id"] option:selected').text(),
    PostalCode: $('input[name="shipping_postcode"]').val(),
    Country: $('select[name="shipping_country_id"] option:selected').text(),
    Phone: $('input[name="shipping_telephone"]').val(),
    Email: $('input[name="email"]').val()
    },
    "CurrencySymbol": "$",
    "TaxAmount": "0",
    "Discount": "0",
    OrderNum: "111-5508667-2042663",
    OrderDate: "12/19/2018",
    OrderDateFull: "12/19/2018 22:30:00",
    ShippingPaidAmount: "0.0000",
    Total: "59.8000",
    PaymentType: "Amazon",
    ExternalId: "111-5508667-2042663",
    Items:[{
    "CurrencySymbol": "$",
    ExternalItemId: "63316183943666",
    ItemID: "63316183943666",
    ItemDescription: "Genuine Fresh Air Concentrate/Air Freshner (4)",
    Quantity: "1",
    Price: "29.895",
    Total: "29.895"
    }]
    }
    }

  4. #4

    Join Date
    Apr 2004
    Posts
    16,606
    SYSOPS is offline
    Asking development to review the above information. Case 70261. We will post back when an update is available.

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  5. #5
    Checking in on this ticket...

  6. #6

    Join Date
    Apr 2004
    Location
    Seattle
    Posts
    8,957
    Blog Entries
    1
    SYSOPR is offline
    ZF Case 70261

    Large apologies.

    It looks like this case missed folks when they were in the office and was not attended to.

    We have pushed it to the top of the queue. Please allow 2 or 3 business days to turn it.
    -----------------------------------
    The Blog: http://forums.zfirm.com/blog.php

    YouTube channel: http://youtube.com/shiprush

    Thank you for using ShipRush!
    Reply With Quote

  7. #7

    Join Date
    Apr 2004
    Posts
    16,606
    SYSOPS is offline
    Reviewed the information from development. These are the required fields needed to be passed in the js call for Amazon Shipping:

    Shipment
    MerchantSettingsId: <AMAZON_MERCHANT_SETTINGS_ID>
    Order
    OrderNum: <AMAZON_ORDER_NUMBER>

    OrderItem
    ItemSKU: <AMAZON_ITEM_SKU>

    HTH,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  8. #8
    Works!

    Hope this will help someone else!

  9. #9

    Join Date
    Apr 2004
    Posts
    16,606
    SYSOPS is offline
    Thank you for the update.

    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •