Arta API Reference logo
API Changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification

Topics

  • Introduction
  • Authentication
  • Rate Limits
  • Search

Endpoints

  • Api keys
    • List API Keys GET
    • Create an API Key POST
    • Get an API Key GET
    • Delete an API Key DELETE
  • Attachments
    • List Attachments GET
    • Create an Attachment POST
    • Retrieve an Attachment GET
    • Delete an Attachment DELETE
  • Email rules
    • List Email Rules GET
    • Create an Email Rule POST
    • Get an Email Rule GET
    • Delete an Email Rule DELETE
    • Update an Email Rule PATCH
  • Email subscriptions
    • List Email Subscriptions GET
    • Create an Email Subscription POST
    • Get an Email Subscription GET
    • Delete an Email Subscription DELETE
    • Update an Email Subscription PATCH
  • Hosted sessions
    • List Hosted Sessions GET
    • Create a Hosted Session POST
    • Get a Hosted Session GET
    • Cancel a Hosted Session PATCH
  • Invoice payments
    • List Invoice Payment GET
    • Get an Invoice Payment GET
  • Invoices
    • List Invoices GET
    • Get an Invoice GET
  • Logs
    • List Logs GET
    • Get a Log GET
  • Metadata
    • API Versions GET
    • Commercial Carriers GET
    • Currencies GET
    • Email Notifications GET
    • Insurances GET
    • Location Access Restrictions GET
    • Object Materials GET
    • Objects GET
    • Package Statuses GET
    • Packings GET
    • Parcel Transport Services GET
    • Payment Process Types GET
    • Quote Types GET
    • Reference Rate Providers GET
    • Reference Rate Service Levels GET
    • Quote Request Statuses GET
    • Services GET
    • Shipment Exception Types GET
    • Shipment Statuses GET
  • Organization
    • Get an Organization GET
    • Update an Organization PATCH
  • Payments
    • List Payments GET
    • Get a Payment GET
  • Requests
    • List Quote Requests GET
    • Create a Quote Request POST
    • Get a Quote Request GET
    • Cancel a Quote Request PATCH
    • Update the contacts for a Quote Request PATCH
    • Request custom quotes PATCH
  • Shipment exceptions
    • List Shipment Exceptions GET
    • Create Shipment Exception POST
    • Get a Shipment Exception GET
    • Update a Shipment Exception PATCH
  • Shipments
    • List Shipments GET
    • Create a Shipment POST
    • Retrieve a Shipment GET
  • Tags
    • List Tags GET
    • Create a Tag POST
    • Get a Tag GET
    • Update a Tag PATCH
  • Trackings
    • Get Tracking Details GET
  • Uploads
    • List Uploads GET
    • Create an Upload POST
    • Get an Upload GET
    • Delete an Upload DELETE
  • Webhook deliveries
    • List Webhook Deliveries GET
    • Get a Webhook Delivery GET
  • Webhooks
    • List Webhooks GET
    • Create a Webhook POST
    • Get a Webhook GET
    • Delete a Webhook DELETE
    • Update a Webhook PATCH
    • Ping a Webhook POST
    • Get a Web Hook Secret Token GET
    • Reset a Web Hook Secret Token PATCH
Powered by Bump.sh

Search

The Arta API supports flexible search functionality across multiple resources, including Shipments, Requests, Hosted Sessions, Tags, and others. Using the search query parameter, you can construct structured queries to filter results based on specific criteria.

Key features of the search functionality include:

  • Support for negation, wildcards, numeric filters, and date comparisons.
  • Each search query consists of one or more clauses, where each clause contains a field, an operator, and a value.
  • Clauses operating on the same field are combined using OR logic, while clauses across different fields are combined using AND logic.

  • Use quotation marks to keep multi-word search terms together.

This allows for powerful and precise filtering to retrieve the exact data you need from the API.

Syntax and operators

The following table lists the operators and syntax that you can use to construct a search query clause.

Operator Usage Description Examples
: field:value Exact match operator (case insensitive) status:pending returns records where the status is pending
* value* Use an asterisk (wildcard operator) at the end of a term to match fields that start with the fragment art* returns records that match "arta" and "artist" but not "smart"
* *value Use an asterisk at the start of a term to match fields that end with the fragment *art returns "smart" but not "martian"
- -field:value Returns records that don’t match the clause -status:pending returns records that do not have a status of pending
>, <, = field:<value, field:>value, field:>=value, field:<=value Greater than/less than operators created-at:<=2021-01-01 returns records from the beginning of time through January 1, 2021
.. field:value1..value2 Filters for values within a given range where the first number is the lowest value and the second is the highest created-at:2021-05-01..2021-05-15 returns records where the created_at field is between May 1, 2021 and May 15, 2021

Hosted Session search fields

Field Type
created-at date
destination-address-line-1 string
destination-city string
destination-contacts-emails string
destination-contacts-names string
destination-contacts-phone-numbers string
destination-country string
destination-postal-code string
destination-region string
insurance string
internal-reference string
object-creators string
object-descriptions string
object-internal-references string
object-public-references string
object-titles string
origin-address-line-1 string
origin-city string
origin-contacts-emails string
origin-contacts-names string
origin-contacts-phone-numbers string
origin-country string
origin-postal-code string
origin-region string
public-reference string
quote-type string
shipping-notes string
shortcode string
status string
type string
tags string

Request search fields

Field Type
bookable string
created-at date
destination-address-line-1 string
destination-city string
destination-contacts-emails string
destination-contacts-names string
destination-contacts-phone-numbers string
destination-country string
destination-postal-code string
destination-region string
hosted-session string
internal-reference string
object-creators string
object-descriptions string
object-internal-references string
object-public-references string
object-titles string
origin-address-line-1 string
origin-city string
origin-contacts-emails string
origin-contacts-names string
origin-contacts-phone-numbers string
origin-country string
origin-postal-code string
origin-region string
public-reference string
quote-type string
shipping-notes string
shortcode string
status string
tags string

Shipment search fields

Field Type
created-at date
destination-address-line-1 string
destination-city string
destination-contacts-emails string
destination-contacts-names string
destination-contacts-phone-numbers string
destination-country string
destination-postal-code string
destination-region string
eei-form-status string
hosted-session string
internal-reference string
object-creators string
object-descriptions string
object-internal-references string
object-public-references string
object-titles string
origin-address-line-1 string
origin-city string
origin-contacts-emails string
origin-contacts-names string
origin-contacts-phone-numbers string
origin-country string
origin-postal-code string
origin-region string
public-reference string
quote-type string
request-shortcode string
shipping-notes string
shortcode string
status string
tags string
total numeric
total-currency string
tracking-numbers string

Tag search fields

Field Type
color string
description string
is_active string
name string