Schemas
The objects and value lists the API uses. Field types in requests and responses link here.
BarcodeA Code 128 barcode to show at a till or to pass as the `barcode` of an order.BarcodeRewardTypeA kind of reward a barcode can carry.BusinessThe business profile.CreateCustomerA new customer. If a Lynked account with this phone (else this email) already exists, that accountCreateCustomerBarcodeThe rewards the barcode carries.CreateCustomerNoteCreatedWebhookSubscriptionThe new subscription with its secret. The secret is shown only here and on rotation.CreateOrderAn order, sent for the discount phase. Send the whole cart each time; a repeated request with theCreateStaffCashBarcodeCurrencyThe business currency. Amounts in Rewards and Orders are in this currency.CustomerA customer.CustomerGenderThe customer's gender as they gave it.CustomerGroupA customer group, as set up in the Lynked dashboard.CustomerGroupRefA customer group the customer belongs to.CustomerNoteAn internal note about a customer. Never show it to the customer.CustomerPageOne page of customers. See the Pagination guide.CustomerRefOnly the customer's id; their details are gone.DiscountReasonOne discount Lynked gave, and why.DiscountReasonTypeWhat gave a discount. New values may be added; treat an unknown one as a generic discount.ErrorThe standard Lynked error body.GiftCardLocationA location (shop, branch) of the business.LocationPageOne page of locations. See the Pagination guide.LoyaltyLabelA text the Lynked app shows to describe the program.LoyaltyProgramHow the loyalty program of the business is set up.MeMinSpendRewardA voucher given for an order that reaches `spend`.NoStampRuleA POS stamp rule with target `0`. Its items give no stamps, on any card.OrderAn order, from any channel (POS, seller app, online shop or this API).OrderItemA line of an order.OrderPageOne page of orders. See the Pagination guide.OrderRewardOne reward the order or the line gave the customer.OrderStatus- `in_progress`: discounts are calculated; the order waits to be completed or canceled.PointRuleA POS point rule. It has no card or balance of its own: it changes how many points its items givePosRuleItemsThe items and locations a POS rule applies to. An item matches by SKU or by category; a SKU beatsProgramPointsHow points are earned and turned into vouchers. Present for every business: POS point rules giveProgramStampCardA stamp card of the program: the main card (`pos_stamp_rule_id` `null`) or one per POS stamp rule.ProgramTimeLimitedOfferA time-limited offer: between `starts_at` and `ends_at` customers collect offer points on theRateLimitErrorThe standard Lynked error body, plus how long to wait.RewardPointsRewardsEvery reward a customer holds, as it stands now. The same object is the `data`RewardTypeWhat the reward is. New values may be added; treat an unknown one as a generic reward.RewardVoucherRuleScopeThe items a voucher applies to. Empty included lists mean any item; excluded lists always win.SaveWebhookSubscriptionSellerA seller account of the business (a till, a POS or a seller app login). Orders are made at a seller.StaffA staff member of the business. Staff get a staff discount and may spend staff cash at the business.StaffBarcodeA barcode of a staff member. Each one identifies the staff member and carries its own staff discount.StaffPageOne page of staff. See the Pagination guide.StampCardA stamp card โ the main card, or one per POS stamp rule.StampVoucherA free item earned on a stamp card.TimeLimitedDiscountTypeTimeLimitedOfferProgressThe customer's progress in the running time-limited offer.TimeLimitedVoucherA voucher earned in a time-limited offer. Its rules are the offer's current rules โ redemptionValidationErrorThe standard Lynked error body, plus the problems per request field.VoucherKindWebhookEventTypeAn event type you can subscribe to. Each value links to the event's page: when it is sent andWebhookSecretWebhookSubscriptionWorkingDayOpening hours of one day.