OMS - PurchaseOrders API

Documentation for PurchaseOrders API

Authentication

API Authentication

Secret Access Keys

Data Schema

Orders

Swagger PurchaseOrders

Endpoints


GET - /api/PurchaseOrders/{id}/authorizationStatus

Retrieve the authorization status of a purchase order by ID.

Parameters

  • id (string, required): ID of the purchase order.

GET - /api/PurchaseOrders/{id}/details

Retrieve a specific purchase order by ID.

Parameters

  • id (string, required): ID of the purchase order.

PUT - /api/PurchaseOrders/{id}/authorize

Authorize a purchase order by ID.

Parameters

  • id (string, required): ID of the purchase order.

PUT - /api/PurchaseOrders/{id}/cancel

Cancel a purchase order by ID.

Parameters

  • id (string, required): ID of the purchase order.

POST - /api/PurchaseOrders/export

Export purchase orders within a date range.

Parameters

  • exportOrderType (string, required): Types of orders to export.
  • createdFrom (datetime, required): Date from which the orders were created.
  • CreatedTo (datetime, required): Date by which the orders were created.