Meta Fields

Michael Chen
Michael Chen
  • Updated

In this article:

What is a Meta Field?

A Meta Field consists of a Meta Key, which defines the property you are defining, and a Meta Value, which is the value of the property.

For example, the Meta Key "gs1_template" may have a Meta Value of "Default".

Back to top

Why we use Meta Values

You could use Meta Values to store arbitrary data RyderShip doesn't need to ship Orders, but you need on the Packing Slip or some other resource. They can also be used in Search Filters, which can be applied to Rules, Bulk Actions, or Reporting.

Back to top

Access

We now allow arbitrary Meta Keys, eliminating the need for prior validation and creation before their usage.

Note: You must use the Line per SKU importer to upload an order.

Back to top

Meta Field Value Types

When setting meta field values, ensure that the format matches the expected type. Incorrect formats may result in errors, data misinterpretation, or failed validations.

Type Expected format | Acceptable values Additional info
DateTime

Date: 
DD/MM/YYYY (e.g. 25/08/2025
-or- 
YYYY/MM/DD (e.g. 2025/08/25)

Time:

  • Time is optional. 
  • If included, it must follow ISO 8601 format 
  • Example: 25/08/2025T15:30:00Z
  • If a value is passed in MM/DD/YYYY format, we will attempt to convert it
  • If the day exceeds 12, and the format is ambiguous, the value may be rejected
  • To avoid errors, always use:
    DD/MM/YYYY
    -or
    YYYY/MM/DD
Date

DD/MM/YYYY (e.g. 25/08/2025
-or- 
YYYY/MM/DD (e.g. 2025/08/25)

Example: 

2025/08/25 will be interpreted as 
August 25, 2025

No time component is allowed
Boolean

Accepts: 

  • true
  • false
  • “true”
  • “false”
  • 1
  • 0
  • "1”
  • “0”

Values are case-insensitive

  • Cast using Ruby’s ActiveModel::Type::Boolean
  • Strings like "yes" or "no" are not valid and will not be interpreted as booleans
String
  • Accepts any plain text value
  • No specific formatting is required
Cast to a Ruby String object
Integer
  • Accepts whole numbers only 
    (e.g. 42, -7)
  • Strings containing valid integers 
    (e.g. "42") will be cast correctly
Non-numeric strings will result in errors
Float
  • Accepts decimal numbers 
    (e.g. 10.5, -2.75)
  • Must use a period as the decimal separator 
    (e.g. 10.5)
  • Strings like "10.5" will work;
    "10,5" will not
Parsed using Ruby’s Float method

Warning.png If a value fails to match its expected type, the request may be rejected, or the field may be ignored depending on how your integration is implemented.

Back to top

Using Meta Values

In Searches

Search Filters are powerful. You can find orders containing Meta Fields (i.e. "Batch all the order-type: VIP orders") or use them for Rules (i.e. "if packaging-type: eco, use paper mailers").

Orders__Processing___Whiplash.png

When using a boolean (True/False) in meta field search filters, use the value 1 for true and 0 for false. For best results, combine the Meta Fields with another search filter. An example would be to include a filter like Status or a date range.

The following equates to "is_gift: true":

Orders__Moda_Operandi__PRODUCTION__August_11__2022_23_30.png

 

During Receiving

Shipnotice.item and Shipnotice Meta Fields are searchable on the Ship Notice Details page. These are most frequently used when locating an inbound item by a Meta Key, such as "vendor_sku" or "color_code". In this way, Meta Keys are a tool for Receiving Teams to identify items.
 

Ship_Notice_Details__16121172.png

In Templates

Check out our documentation regarding templates here.

Back to top

Adding Meta Values via CSV upload

Meta Values can be added via CSV Order upload or the API. 

Note: You must use the Line per SKU importer to upload an order.

CSV header format:

object_meta_{yourmetakeyhere)

Orders

order_meta
orderitem_meta

Ship Notices

shipnotice_meta
shipnoticeitem_meta

Returns

consumerreturn_meta
shipnoticeitem_meta

Items

item_meta

Note: Attached to this article is an example of the standard Ship Notice import format being used to include meta keys.

Back to top

Meta Fields are surfaced in the UI, right?

No! But this is intentional. Mistakes happen when we’re relying on humans making right decision based on written instruction for thousands of packages a day. We’re all about automation.

For example, we might use the filter Meta Field packaging_type: eco-friendly to apply a Rule.

Or, we might use user_status: VIP to create Batches.

This means that warehouse staff are getting instructions in the way they’re used to—contextually, via the packing and batching workflows—and don’t need to change their process at all to ship orders in the way you intend.

One exception: Item level Meta Fields are visible on the Item Details page, under the "More" menu. This is to give receiving teams as much information as possible about the items and give them the best possible chance of identifying the right thing during receiving.

Back to top

Example of the standard Ship Notice import format

Was this article helpful?

1 out of 2 found this helpful

Have more questions? Submit a request