Discussions

Ask a Question

Invalid grant type when calling api to get bearer token

Hi, I am using the oauth2 endpoint <https://auth.roserocket.com/oauth2/token> to get a bearer token. Per comments on this board my post request has the following body <br /> { "grant_type": "password", "username": "[[email protected]](mailto:[email protected])", "password": "<pwd>", "client_id": "<client-id>", "client_secret": "<client-secret>" } <br /> This is the message I get <br /> { "errors": [ { "message": "Invalid grant type" } ] }

Webhooks not working

Hi! Since yesterday, webhooks (event orders) have stopped working, either messages arrive with a very long delay, or they don’t arrive at all.

Error when attempting to exchange authorization code for token

My authorization request returns this response: Found. Redirecting to /u/login?state=hKFo2SBqWFB3ZDYyRVZHN0dadnNpZNkgMDd2dktvRWlqWEFUVmFDRXNZczZpZEJmQjFZc28zY1I (I shortened the string above for brevity and security.) Is the long string following "state=" in that response my "authorization code"? If so, why is it preceded by "state="? Either way, is that the "code=" value I should put in the cURL I subsequently send to <https://a.roserocket.com/oauth/token> to obtain a token? I tried that, but I then get this error response: {"error":"invalid_grant","error_description":"Invalid authorization code”} I'm generally confused about "state" vs "code" and what those values should be and how they relate to each other. Can someone help me figure out what I'm doing wrong?

Create new customer's order address_book_external_id and address_book_id

<https://roserocket.readme.io/reference/create-order> "Address book external id. This field value can be null. Leave this field as null if you want to manually specify the address. If you want to populate the address using address_book_external_id, you must leave address_book_id empty." When using field address_book_external_id or address_book_id I still receive field validation errors looking for City, Country and Postal of the Origin, Destination, and Billing. Anyone out there using this successfully?

how to get container and other details of an order

Hi team we are trying to receive order information through API where we are expecting below details to be identified from get OrderDetails API . Kindly assist on which response tags we can find these values if they were captured while order creation. Trailer/Container Number Seal Number 1 Pro Number Total Number of WMS Shipments in the Truck(For CCI) Post delivery goods issue (inbound) Forwarding agent (Partner no.) Label Type Pallet Number Pallet Label Id Carton Label Id Actual quantity delivered in stockkeeping units Base Unit of Measure

How to get the delivery date and time?

Seems this is missing from the order details and if we use POD then is the date there the delivered date? or the upload for POD? Also the API Says it is Date and time and it is only returning Date. thank you

BASEURL/api/v1/orders/ API response doesn't include origin and destination address in production environment

We're working with Noorin and she recommended posting here; she can share our direct account details with you if needed. The API response is not populating the origin and destination addresses in a production environment.we can get the desired in a test environment.

Wrong "pickedup_at" from /orders

Hello - hoping you can assist on this. endpoint: "search all orders" /orders When looking for order id "bce3a395-27a9-4166-9cca-9a042ea258b5" we getnwrong date in the ""pickedup_at": "2024-01-04T12:15:14.1414Z"," which is incorrect due to an user error. q1: Is there any way to edit that value in the UI? so that it reflects the correct "pickedup_at" that is on Jan 02 and not Jan 04. q2: I see that when calling the specific order id "/orders/orderId" for above example there are in fact multiple values for "pickedup_at" when this is a single shipper multi consignee order. Is there any way to get the first "pickedup_at" time stamp instead of the last when calling "search all orders" /orders ?

QBO - RR PAID status update issue

After using the endpoint <https://roserocket.readme.io/reference/update-invoice> to update the invoice to PAID status from QBO to RR via API, the request is successful but the invoice remains unchanged.