Status Update: Admin Users Unable to Login - May 20th, 2024

Purchase Order Information Not Available in API

Completed

Comments

2 comments

  • Travis Musgrave

    Hi Ira - thanks for the feedback. It looks like this is just a documentation issue.

     

    This endpoint will get you PO info

    https://developers.cart.com/docs/rest-api/d069ec4a2c979-get-payment-methods

    To get all the info you need for custom payment methods, you'll need to include "expand=fields" in the query for this call. Ex: '/api/v1/order_payments?expand=fields'

    https://developers.cart.com/docs/rest-api/cbeeef8ce20a1-get-order-payments

    0
  • Trevor Gonzales

    For us, the only way to add a Purchase Order field to an order is by using Custom Fields.

    In our case we can just hit /api/v1/orders/{ORDERID}?expand=custom_fields

    The endpoint exposes that nested field - see image. Of if you need all available data for an order just use the following which will also expose it:

    /api/v1/orders/{ORDERID}/filled

    0

Please sign in to leave a comment.

We're Here To Help


Standard Support Hours: Monday-Friday 8AM-5PM CST
Looking for Premium Support? Just ask!

Speak to a live person
1 (800) 936-9006
Submit A Support Ticket
Submit Your Ticket Here