VersaCommerce provides these objects in addition to the ones described in their own articles. Most of them are reached through a property of another object.
carrier
Product shipping types, cart or shop carriers.
| Properties | Returns |
|---|---|
id, title, name, description, price, standard, standard?, standard_carrier_price |
Carrier display and price |
location, local_pickup, local_pickup?, pick_up_duration_message, show_duration_time_in_checkout, estimated_delivery, latest_delivery_time, earliest_delivery_time, delivery_days, latest_delivery, order_within, delivery_countries, excluded_payment_method_ids, instant_delivery, instant_delivery?, max_price |
Delivery and pickup data |
brand, brand_color
Shop.brand.
| Properties | Returns |
|---|---|
colors, cover_image, favicon_url, logo, square_logo, slogan, short_description, metafields |
Shop brand styling, assets and text |
background, foreground |
Brand color pair |
colorscheme, colorscheme_group
Resolved color scheme settings.
| Properties | Returns |
|---|---|
id, settings |
Scheme ID and color settings |
settings_data, each |
Group data and scheme iteration |
productoptionvalue, swatch
Product.optionswithvalues[].values.
| Properties | Returns |
|---|---|
name, selected, id, available, variant, product_url, swatch |
Option value, state, variant and swatch |
color, image |
Swatch appearance |
quantity_rule, instructions
Variant/product quantity rule and line_item.instructions.
| Properties | Returns |
|---|---|
min, increment, max |
Quantity rule values |
can_remove, can_update_quantity |
Line-item editing flags |
property, tag, category, vendor
Product properties and product, collection or shop taxonomy.
| Properties | Returns |
|---|---|
property.id, handle, title, name, value, hidden?, hidden |
Catalog property fields |
tag.id, name, handle, tagged_products, tagged_products_count, tagged_count, url |
Tag metadata and product lookup |
category.title, handle, url, count, product_count, link |
Category metadata |
vendor.title, handle, count, product_count, url, link |
Vendor metadata |
productreview, rating, bulkdiscount
Product review and bulk-discount accessors; rating metafields.
| Properties | Returns |
|---|---|
id, body, title, rating, email, created_at |
Review fields |
rating, scale_min, scale_max |
Rating and scale |
quantity, price |
Bulk price tier |
recommendation
Product.recommendations.
| Properties | Returns |
|---|---|
id, description, recommended_product, product, recommending_product |
Individual recommendation record and its product references |
asset, imagepresentation, focalpoint
Theme assets and image.presentation.
| Properties | Returns |
|---|---|
id, content_type, filename, height, width, exists?, exists, exist?, exist, url, src, variants |
AssetDrop metadata and URLs |
focal_point.x, focal_point.y |
Image focal-point coordinates |
url, video_url, html, richtext, liquid
Typed schema setting values.
| Properties | Returns |
|---|---|
path_parts, query, anchor, uri |
Parsed URL components |
video_url.type, video_url.id, video_url.uri |
External video provider, ID and URI |
string rendering |
Sanitized HTML or rich text, or stored Liquid text |
operatinghour, operatinghour_collection
Location and shop opening hours.
| Properties | Returns |
|---|---|
open, close, day_of_week_name |
Opening interval and weekday |
each, operating_hours |
Opening intervals |
ordercoupon, orderpayment, shipment, fulfillment_item
Cart, checkout and order-related templates.
| Properties | Returns |
|---|---|
order_coupon.id, campaign_name, description, discount, discount_type, code, starts_on, ends_on, max_uses, used, minimum_order_amount, valid?, invalid?, errors |
Coupon metadata and validation |
order_payment.id, title, cost, payment_method, external?, payment_type, supports_local_pickup? |
Checkout payment metadata |
shipment.id, shipping_address, billing_address, order, tracking_code, tracking_url, carrier_name, items, fulfillment_items |
Shipment details and rows |