Skip to content

Enumerations & Status Codes

This page documents the various status codes and types used throughout the API.


Order Status (OrderStatus)

ValueLabelDescription
pendingPendingInitial state after checkout.
confirmedConfirmedPayment verified, ready for processing.
processingProcessingOrder is being prepared in the warehouse.
shippedShippedHanded over to the carrier.
deliveredDeliveredReceived by the customer.
cancelledCancelledCancelled by user or admin.
refundedRefundedFully refunded.

Allowed Transitions:

  • pendingconfirmed, cancelled
  • confirmedprocessing, cancelled
  • processingshipped, cancelled
  • shippeddelivered
  • deliveredrefunded

Payment Status (PaymentStatus)

ValueLabelDescription
pendingPendingPayment not yet received.
paidPaidSuccessfully captured.
failedFailedPayment attempt failed.
refundedRefundedFully returned to customer.
partially_refundedPartially RefundedSome items refunded.

Coupon Types (CouponType)

ValueDescription
percentagePercentage discount on subtotal (e.g., -10%).
fixedFixed amount discount (e.g., -15€).
free_shippingRemoves shipping costs.
buy_x_get_yBOGO or similar promotional offers.

Shipment Status (ShipmentStatus)

ValueDescription
pendingShipment record created.
processingBeing prepared for shipping.
shippedHanded to the carrier.
in_transitOn its way to the destination.
out_for_deliveryArrival at local facility, final leg.
deliveredSuccessfully delivered.
failedDelivery failed.
returnedSent back to the sender.

Review Status (ReviewStatus)

ValueDescription
pendingAwaiting moderation.
approvedPublicly visible.
rejectedHidden from public view.

Stock Movement Type (StockLogType)

ValueDescription
inStock added (purchase, restock).
outStock removed (sale, damage).
adjustmentManual admin adjustment.
reservedStock reserved for a pending order.
releasedReserved stock released (order cancelled).
returnedItems returned to stock.

Return Status (ReturnStatus)

ValueDescription
requestedReturn request submitted.
approvedReturn approved by admin.
rejectedReturn rejected by admin.
receivedReturned item received at warehouse.
refundedRefund processed.
exchangedItem exchanged.

Product Status (ProductStatus)

ValueDescription
draftNot visible to customers.
publishedActive and visible.
archivedRemoved from listings.

Blog Post Status (BlogPostStatus)

ValueDescription
draftNot published.
publishedVisible to readers.
archivedHidden from listings.

Payment Method (PaymentMethod)

ValueDescription
stripeStripe card payment.
paypalPayPal payment.
walletInternal wallet credit.
codCash on delivery.
bank_transferBank transfer.

Address Type (AddressType)

ValueDescription
shippingDelivery address.
billingBilling address.
bothUsed for both shipping and billing.

Attribute Type (AttributeType)

ValueDescription
selectDropdown selection.
colorColor swatch with hex code.
buttonButton-style selection.
imageImage-based selection.

ValueDescription
urlExternal or custom URL.
productLinks to a product.
categoryLinks to a category.
collectionLinks to a collection.
pageLinks to a static page.

Promotion Applies To (PromotionAppliesTo)

ValueDescription
allApplies to all products.
categoriesApplies to specific categories.
productsApplies to specific products.
brandsApplies to specific brands.

Shipping Rate Type (ShippingRateType)

ValueDescription
flatFixed cost.
weight_basedBased on cart weight.
price_basedBased on order total.
freeAlways free.

User Gender (UserGender)

ValueDescription
maleMale.
femaleFemale.
otherOther / prefer not to say.

Licensed for single or extended use.