Skip to main content

Get Purchase Order Statistics

GET 

/api/spscommerce/:integrationInstance/purchase-orders/metrics

Get statistics and metrics for purchase orders.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Response:

  • pending - Count of pending POs
  • unmapped - Count of unmapped POs
  • failed - Count of failed POs
  • success_rate - Success rate percentage
  • new_today - Count of POs received today
  • total_amount - Total value of orders
  • avg_line_items - Average line items per order

Request​

Responses​

Successful response