when using suitetalk rest api how do you retrieve ...
# ask-stanley-ai
b
when using suitetalk rest api how do you retrieve a sales order by tranid
c
AI generated answer (using internal Slack threads):
To retrieve a sales order by tranid using the SuiteTalk REST API, you would need to perform a search or query that includes a filter on the tranid. However, keep in mind that tranid is not unique, so this method may return multiple results. Here is a general example of how you might structure your request:
Copy code
javascript
GET /record/v1/salesOrder?q=(tranid='YOUR_TRANID')
Replace 'YOUR_TRANID' with the actual tranid you are searching for. This will return all sales orders with the specified tranid. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809983432
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804665506
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803134322
Please provide your feedback on this answer.