Data Types and Enums

This document defines the field types used across the API and the allowed values of every status and type field an integrator reads or sends. These are API contract values: the strings and shapes that appear in requests and responses: stated once here and used by every endpoint reference. Terms are defined in Glossary.

Field types

TypeFormatNotes
idOpaque stringAssigned by the Platform. Never parse, construct, or guess an id; equality is the only operation
stringUTF-8 textLength limits are stated per field in the endpoint references
integerWhole number, no fractionQuantities and counts. Quantities are never negative in responses
decimal string"24.99"All money and rates. Always accompanied by a currency field for money. Never a JSON number
currencyISO 4217 code, uppercaseFor example USD
booleantrue or false
timestampISO 8601, UTCFor example 2026-10-14T10:42:32Z. Every *_at field
dateISO 8601 calendar dateYYYY-MM-DD. Every period bound and *_on date
arrayJSON arrayElement type stated per field
objectJSON objectShape stated per field
nullJSON nullA field present with value null means "no value yet", for example delivered_at before delivery

Conventions that apply everywhere (Overview): responses may add fields over time, and clients shall ignore fields they do not recognize; a field's absence and a null value are not the same signal: where an endpoint always returns a field, it does so, with null when there is no value.

Enum values

Enum values are lowercase strings with underscores. The sets below are closed for requests: sending a value outside the set fails with 422. For responses, treat the sets as the current contract; a new value is an additive change announced in the Changelog, so code that switches on status should carry a safe default branch.

Account

FieldValues
account_typemanufacturer, supplier, reseller, dropshipper, veterinary, pharmacy, franchise
api_tierimport, partner, none
Account statusactive, suspended, closed

Catalog

FieldValues
Product statusactive, inactive, archived
Brand statuslive, not_live, suspended
Authorization status (Brand and Manufacturer Endpoints)pending_review, current, expired, revoked, ended

Inventory (Inventory Endpoints)

FieldValues
Adjustment reasonreceived, sold, returned, damaged, expired, correction, count

Orders (Orders Endpoints)

FieldValues
Order statuspending_payment, confirmed, fulfilling, shipped, completed, cancelled, returned
Cancellation reasonout_of_stock, cannot_fulfill, buyer_requested, duplicate

Fulfillment

FieldValues
Shipment statuslabel_created, in_transit, out_for_delivery, delivered, exception, cancelled

Returns

FieldValues
Return statusrequested, approved, awaiting_package, in_transit, received, inspection, approved_for_refund, rejected, restocked, refunded, exchanged, completed, cancelled
Line conditionunopened, opened_unused, used, damaged
Line dispositionrestock, refurbish, dispose
Refund methodoriginal_payment, store_credit

Payments (Payments Endpoints)

FieldValues
Payment typecharge, refund
Charge statuspending, succeeded, failed, refunded
Refund statuspending, completed, failed
Payment methodcard, bank_transfer, store_credit, cash
Payout statusscheduled, in_transit, paid, failed

Governance

FieldValues
Evaluation resultpass, flag, fail
Violation severitylow, medium, high, critical
Violation statusopen, under_review, resolved, closed
Appeal statuspending, approved, denied

Veterinary and pharmacy

FieldValues
Referral urgencyemergency, urgent, routine, information
Referral statusnew, contacted, responded, booked, closed
Consultation statusscheduled, in_progress, completed, cancelled, no_show
VCPR statuscurrent, expired, none
Prescription pharmacy_statusreceived, in_preparation, shipped, delivered, on_hold

Franchise

FieldValues
Location statuspending_opening, active, suspended, closed
Agreement statuspending_signature, in_force, expired, terminated
Statement statusissued, paid, overdue, corrected

Identifiers in practice

Ids carry a short prefix that names the resource kind (prod_, ord_, pay_, ret_) followed by an opaque suffix. The prefix is a reading aid only: do not branch business logic on it, and do not assume a suffix's length or character set stays fixed. Human-facing numbers: order_number (AAP-2026-104821), return_number (RMA-2026-00319): are separate fields, formatted for people and support calls; use id in API calls and the number in correspondence.

    Data Types and Enums · All About Pawz Developers