Submit a request

API Searching and Filtering




  • Avatar
    Kathy Sechrist

    Is there a list of fields/fieldnames that this works with? Will it work with custom fields?

    I tried the following, but it just returned every order after the specified date, and only included id, customer_id, and grand_total :


    Comment actions Permalink
  • Avatar

    Hi Kathy,

    I think for custom fields you can just include "custom_fields" in your list of fields to retrieve. 
    i.e. ...&fields=id,customer_id,grand_total,custom_fields

    Then in the response, there will be a new array with the custom_fields and their values

    For a list I would check their github:

    Comment actions Permalink
  • Avatar
    Nate Horsfall

    So a GET request to /api/v1/cart_items?item_number=widget123 works, but if I change the request to /api/v1/cart_items?item_number=widget123&price=lte:298.00, I get:


    "status_code": 500
    "message": "Internal Server Error"
    "details": "Object reference not set to an instance of an object."


    Does this mean I can't also filter by price for cart_items?

    Comment actions Permalink

Please sign in to leave a comment.

We're Here To Help

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

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