-
Notifications
You must be signed in to change notification settings - Fork 0
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
added tracking ID in customer profile from Shipstation #190
base: master
Are you sure you want to change the base?
added tracking ID in customer profile from Shipstation #190
Conversation
@@ -45,7 +45,7 @@ const OrderRow = props => { | |||
<span>{stateTitles[order.state]}</span> | |||
</td> | |||
<td> | |||
TRACKING ID | |||
{order.shippingMethod.id} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're looking for the tracking number -- correct me if I'm wrong, but this looks like the ID of the shipping method (the primary key of our shipping method in the DB). This won't have any relevance to the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmataya thank's Jeff. it was my assumption that {order.shippingMethod.id} is what i needed here, but was not sure about that.
that is why i have asked @jessicakwalters for help:
"@jessicawalters6 i can't get similar IDs from this API: ttps://stage-tpg.foxcommerce.com (frontend and admin). would you allow me to access to some account (client side) which pulls production API in order to check if i am using right endpoint? thanks."
on this page http://www.shipstation.com/developer-api/#/introduction/integrating-with-shipstation i have found that right property shold look like this: "trackingNumber": "913492493294329421". however, haven't find anything similar in props which component receives. any idea what i am missing here? thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmataya btw, inside shippingMethod property (OrderRow component) there are two child properties: "id" and "shippingMethodId". i guess none of these is what we are looking for?
communication from slack (#ui, 02/01/17): me: @anru: I think @frontend is not perfect target for that question 🙂 Recently Max changed the way how orders comes to storefronts (see FoxComm/api-js#32). And I guess all required data should be in @jmataya: @anru @danko tracking number isn't part of an order, it's part of a shipment |
No description provided.