Smartbills API documentation
GitHubGitHub (opens in a new tab)
  • Introduction
  • Getting Started
  • Basic principles
  • Authentication
  • Multilangual API
  • Environments
  • Errors
  • Versioning
  • Pagination
  • Metadata
  • Rate limit
  • Going into production
  • APIs
  • Merchants API
  • Locations API
  • Customers API
  • Employees API
  • Products API
    • Product Variants | Smartbills API Documentation
  • Fees API
  • Promo Codes API
  • Receipts API
    • Receipt Line Items | Smartbills API Documentation
  • Payments API
  • Vendors API
  • Taxes API
  • Ressources
  • SBCustomer
  • SBEmployee
  • SBMerchant
  • SBProductImage
  • SBProductVariant
  • SBReceipt
    • SBReceiptFee
    • SBReceiptDiscount
    • SBReceiptTax
    • SBReceiptPayment
    • SBReceiptLineItem
    • SBReceiptLineItemFee
    • SBReceiptLineItemTax
    • SBReceiptLineItemDiscount
    • Sbreceiptlineitemfee
  • SBLocation
  • SBPromoCode
  • SBProduct
    • SBProductVariant
    • SBProductImage
  • SBTax
  • SBMoney
  • SBFee
  • SBVendor
  • SDKs & libraries
    • Getting started
    • Installation
    • Authentication
    • Getting started
    • Installation
    • Authentication
    • .NET Core
    • Getting started

On this page

  • SBPromoCode
Question? Give us feedback → (opens in a new tab)Edit this page
SBPromoCode

SBPromoCode

This object represents a promo code. A promo code is used to apply discounts to receipts.

AttributeDescriptionTypeRequired
idID of the promo codeintegerRequired
nameName of the promo codestringNo
typeType of the promo code (percentage or amount)stringRequired
amountAmount of the promo codeSBMoneyNo
percentagePercentage discount of the promo codenumberNo
createdAtCreation date of the promo codestringRequired
updatedAtUpdate date of the promo codestringNo
SBLocationSBProduct

Smartbills Technologies Inc.