[preview] Create a purchase order

Creates a purchase order for the organization.

Rate limit: 5 requests/sec (learn more about rate limits here).

To use this endpoint, select Write Purchase Orders under the Work Orders category when creating or editing an API token. Learn More.

Endpoints in this section are in Preview. These APIs are not functional and are instead for soliciting feedback from our API users on the intended design of this API. Additionally, it is not guaranteed that we will be releasing an endpoint included in this section to production. This means that developers should NOT rely on these APIs to build business critical applications

  • Samsara may change the structure of a preview API's interface without versioning or any notice to API users.

  • When an endpoint becomes generally available, it will be announced in the API changelog.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for creating a PurchaseOrder

string

General ledger code associated with this purchase order.

string

Vendor invoice number associated with this purchase order.

string

Free-text notes for the purchase order.

string
required

Current customer-visible status of the purchase order.

otherCost
object

CreatePurchaseOrderEntityPurchaseOrderMoneyInput object

parts
array of objects

Parts ordered on the purchase order.

parts
string

Optional prefix included in the purchase order number.

string

Optional suffix included in the purchase order number.

string

Shipment tracking number for the purchase order.

string
required

ID of the vendor supplying this purchase order.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json