Submit a request

API Searching and Filtering

Follow

Comments

2 comments

  • 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 :

    /api/v1/orders?ordered_at=gt:2019-05-03T06:00:00.0Z&SignatureRequiredForDelivery=Yes&fields=id,customer_id,grand_total,ServiceName

  • Avatar
    Will

    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:
    https://github.com/AmeriCommerce/rest-api/blob/master/resources/orders.md

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