Bulk shipments causing missing shipment data

Hi all,

@tomasw please help here if you can.

We had an integration working fine that would get all shipments from an hour and ten minutes ago until 10 minutes before now. I’ve been told you have a new bulk shipments feature. The integration isn’t picking up the needed line items for these bulk shipments. I’m assuming it takes longer than 10 minutes for these shipments to populate line items and tracking numbers? Do you know how long we should wait? One order in question: request id : 5f8f5435610b370d1de65d9a with “created_date”: “2020-10-16T13:18:32+00:00” , and many other shipments around that time had the exact same created date. The line items are showing now, but I don’t think they showed when the integration ran to pick this shipment up about half an hour after it was created. I don’t currently have a request ID for a request with the missing shipment data, but it would be helpful to know if we have to wait longer (after a shipment created date) for bulk shipments data to be populated.

Thanks,
Orion

My main question is: For bulk shipments, does Shiphero backdate shipments? Do you backdate them to over ten minutes from before now? If so, how long (maximum)? Thanks

Hi @Orion!
I apologize for my delayed response to this.
I just tested it myself and it seems to be working appropriately, this is:

  1. I generated a Bulk Ship Batch with 2 orders using the new bulk ship page (generated the labels at 2020-10-26 13:28:27 UTC)

  2. I made the following Query:

    query {
    shipments(date_from: “2020-10-26 13:28:27”, date_to: “26-10-2020 13:30:00”) {
    request_id
    complexity
    data(first: 2) {
    pageInfo {
    hasNextPage
    hasPreviousPage
    startCursor
    endCursor
    }
    edges {
    node {
    id
    legacy_id
    order_id
    user_id
    warehouse_id
    pending_shipment_id
    address {
    name
    address1
    address2
    city
    state
    country
    zip
    phone
    }
    picked_up
    needs_refund
    refunded
    delivered
    shipped_off_shiphero
    dropshipment
    created_date
    shipping_labels {
    id
    legacy_id
    account_id
    shipment_id
    order_id
    box_id
    status
    tracking_number
    order_number
    carrier
    shipping_name
    shipping_method
    cost
    box_code
    address {
    name
    address1
    address2
    city
    state
    country
    zip
    phone
    }
    device_id
    delivered
    picked_up
    refunded
    needs_refund
    profile
    partner_fulfillment_id
    full_size_to_print
    packing_slip
    warehouse
    insurance_amount
    carrier_account_id
    }
    }
    cursor
    }
    }
    }
    }

And got the two shipments (one for each order) on the response.
The date of the query must also be in UTC in case that helps.

Let me know if you continue to see an issue there or if I got the steps wrong maybe

Thanks in advance!
Tom