Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transactions array provided in order details endpoint is incomplete and incorrect. #78

Open
breathingcyborg opened this issue May 8, 2022 · 0 comments

Comments

@breathingcyborg
Copy link

Transaction array contained in response received by calling /orders/id endpoint.

 "transactions": [
    {
      "object_id":  "****",
      "object_status": "SUCCESS",
      "label_url": "****",
      "tracking_number":  "****",
      "test": true
    }
  ]

Expected shape of transaction object according to docs https://goshippo.com/docs/reference#transactions

{
  "object_state": "VALID",
  "status": "SUCCESS",
  "object_created": "2022-05-06T13:48:08.807Z",
  "object_updated": "2022-05-06T13:48:10.206Z",
  "object_id": "****",
  "object_owner": "****",
  "test": true,
  "rate": "****",
  "tracking_number": "****",
  "tracking_status": "UNKNOWN",
  "eta": null,
  "tracking_url_provider": "https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=****",
  "label_url": "****",
  "commercial_invoice_url": null,
  "messages": [],
  "order":  "****",
  "metadata": "****",
  "parcel": "****",
  "billing": {
    "payments": []
  },
  "qr_code_url": null
}

Other information that you might find useful:

  • We are marketplace using oauth
  • Order was created by our marketplace on behalf of the vendor, using vendors oauth token, that we got from shippo.
  • Transaction (Shipping label) was not purchased using oauth, vendor purchased that transaction (Shipping label) from their shippo account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant