Zid Docs
  1. Digital Products
Zid Docs
  • Merchant API
    • Start Here 🚀
    • Overview to Zid Apps
    • Authorization
    • Responses
    • Webhooks
    • Rate Limiting
    • APIs
      • Orders
        • Update Order by ID
        • Get Order Credit Notes
        • Get Order by ID
        • List of Orders
      • Reverse Orders
        • Reverse Order Reasons
        • Create Reverse Orders
        • Create Reverse Orders Waybill
        • Add Reverse Order Reasons
      • Carts
        • Get Abandoned Cart Details
        • List Abandoned Carts
      • Products
        • Managing Products
          • Get a Product by ID
          • Retrieve a list of products
          • Create a new product
          • Update an existing product.
          • Bulk update of products using their IDs or SKUs
          • Delete a product.
          • Product Setting
          • List Product Reviews
        • Digital Vouchers
          • Product Vouchers
          • Order Voucher
          • Add Product Voucher
          • Import Vouchers
          • Export Vouchers
          • Update Product Voucher
          • Remove Product Voucher
        • Product Categories
          • Get Single Category Details
          • Get all categories
          • Create Store Category
          • Update a Store Category
          • Add a product to a certain category
          • Publish/Unpublish a Category
          • Detach Category from All Products
          • Remove Category from Product
        • Product Badge
          • Product Badge
        • Product Attributes
          • Get Product Attributes
          • Get Product Attributes
          • Retrieve a product attribute
          • Add a New Product Attribute
          • Add a New Product Attribute
          • Update a product attribute
          • Delete a product attribute
        • Product Attribute Presets
          • Get attribute presets
          • Create Attribute Preset
          • Update Attribute Preset
          • Delete an attribute preset
        • Product Customizations
          • Add Product Variants
          • Insert Custom Options to a Product
          • Insert Custom User-Input Fields to a Product
        • Product Manual Sorting
          • Set Custom Product Order
          • Reset the manual sorting of all products
        • Product Images
          • Get List of images of a product.
          • Add an image to a product
          • Update a product Image Order
          • Delete a product image
        • Product Notifications
          • Availability Notification Stats
          • Availability Notifications Settings
          • List Availability Notifications
          • Add Availability Notification
          • Save Availability Notifications Settings
          • Manually Send Availability Notification Email
          • Export Availability Notifications
        • Product Import
          • Email All Products to Store Owner
          • Import Products via CSV or xlsx File
        • Product Stock (Multi-Inventory)
          • Get Product Stock by ID
          • List Product Stocks
          • Add Product Stock
          • Update Single Product Stock
          • Bulk Update Product Stocks
        • Product Questions & Answers
          • Get Question
          • Get Answer
          • Get All Questions
          • List Question Answers
          • Create Question
          • Create Answer
          • Update Question
          • Update Answer
          • Delete Question
          • Delete Answer
        • Product Reviews
          • List Reviews
          • New Reviews Total
          • Change Review Status
          • Bulk Change all Review Statuses
          • Delete Review
          • Import Product Reviews
          • Reply to Review
          • Delete Reply
          • Update Reply to Review
        • Digital Products
          • Create Downloadable Product
            POST
          • Generate an Upload URL
            POST
          • Upload File to S3
            GET
          • Create Product Downloadables
            POST
          • Get Product Downloadables
            GET
          • Delete Product Downloadables
            DELETE
          • Get Store Downloadables
            GET
          • Create Store Downloadables
            POST
          • Delete Store Downloadables
            DELETE
      • Inventories
        • Get Store Location by ID
        • List Store Locations
        • Add a New Location
        • Update a Location by ID
        • Update Products Stock by Location ID
      • Shipping
        • List Store Delivery Options
        • Add Shipping Option
      • Marketing
        • Gift Cards
          • Get Store Settings
          • Add gift card to the cart
          • Update Store Settings
          • Upload gift card designs
          • Remove gift card from the cart
        • Coupons
          • Create a New Coupon
          • List Coupons
          • Get Coupon Details
          • Update Coupon
          • Delete Coupon
        • Bundle Offers
          • Retrieve all Bundle Offers
        • Loyalty Program
          • Customer Wallet
          • Customer Points
          • Loyalty Program Points per Order
          • Store Loyalty Status
          • Redemption Methods
          • Cashback Rules
          • Add Redemption to Cart
          • Remove Redemption from Cart
          • Info Page
          • Loyalty Program Activation
          • Loyalty Status
          • Set Points Expiration
          • Cashback Rule Method Update
          • Cashback Rule Method Update Status
          • Add Points Redemption Method
          • Update Points Redemption Method
          • Delete Points Redemption Method
          • Toggle Redemption Method Status
          • Show Loyalty Points Info for Specific Customer
          • Customer Profile
          • List Data
          • Customer Points History
          • Info Page - Managers
          • Update Info Page
          • Adjust Customer Points
      • Customers
        • List of Customers
        • Get Customer by ID
      • Store Settings
        • 📄 User Roles and Permissions
        • Get Manager's Profile
        • Get VAT Settings
        • List of Payment Method
      • Countries and Cities
        • Retrieve Store Operating Countries
        • Retrieve Cities by Country ID
        • Countries List
      • Webhook
        • List of Webhooks
        • Create a Webhook
        • Delete a Webhook by OriginalId
        • Delete a Webhook by Subscriber
    • Store Events
      • Order
      • Product
      • Abandoned Cart
      • Customer
      • Product Category
  • App API
    • Create your First App
    • Embedded Apps
    • App Scripts
    • App Events
    • App Subscription
      • Get Subscription Details
      • Update Usage-Based Charges
  • Themes
    • 🚨 Important Update: Zid Themes
    • Adding Video URL Feature to Third-Party Themes
    • Landing Page Development
    • Getting Started with Zid Themes
      • Introduction to Theme Development
      • Manage your Themes
      • Building Themes in Zid
      • Theme File Structure
      • Twig Syntax and Features
      • Zid Theme Packager
    • Templates
      • Layout
      • Home Page
      • Products
      • Cart
      • Store Language and Currency
    • Settings Schema
      • Text
      • Number
      • Text-Area
      • Select
      • Radio Buttons
      • Checkbox
      • Range
      • Color
      • Image
      • Product
      • Category
      • List
      • Fieldset
    • Code Snippets
      • Apple Pay Quick Checkout
      • Custom CSS Injection
      • Displaying the Store's Business Center Logo
      • Customizing Copyright Text
      • Store's Main Navigation Menu
      • Customer Wishlist
      • Products
        • Products Badges
        • Product Ratings
        • Remaining Product Stock
        • Sold Items Count
        • Product Filtration by Attributes
        • Grouped Products
        • Product Questions & Answers
        • Product Restock Notfication
      • SEO
        • Images alt text
        • Themes SEO Marketing Tags
      • Marketing
        • Metafields
        • Gift Feature
        • Loyalty Program
    • Zid Themes Library: API Integration
      • Products
      • Product Categories
      • Cart
      • Blog
      • Customer
      • Store Settings
    • Data Reference
      • Locals
      • Store
      • Cart
      • Product
      • Products List
      • Category
      • Categories List
      • Session
      • FAQs
      • Customer
      • Blogs
      • Page
      • Main Menu
      • Main Navigation Menu
      • Request
      • Orders
      • Addresses
      • Store Payment Methods
      • Store Shipping Methods
      • Store Banks
      • Asset URL
      • Header Meta Tags
      • Loyalty pogram Wallet
    • Themes CLI
      • CLI Authentication
      • Theme Create
      • Theme Package
      • Theme Update
      • Themes List
      • Theme Preview
  1. Digital Products

Create Downloadable Product

POST
https://api.zid.sa/v1v1/products/
Here’s the updated description with the additional clarification:
The 'Create Downloadable Product' endpoint allows users to add a new digital product to their store. This endpoint enables specifying product details, such as name, price, SKU, and download settings, to configure the product for digital delivery without shipping requirements. The process is the same as creating any other product, with the key distinction being the inclusion of 'product_class': 'downloadable' in the request payload. The response includes product metadata, availability, and stock settings relevant to digital products.
🔑Scopes
products.read_write - Products Read & Write
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zid.sa/v1v1/products/' \
--header 'Store-Id: 3' \
--header 'Accept-Language: ar' \
--header 'X-manager-Token: eyJpdiI6ImNSZ0NKWXlMZ3hEcDZudU1wS3R1dVE9PSIsInZhbHVlIjoiZnRqdGRVUE1IdU9PaytvSk1pbGV5Zk5YUk9pRG9ONWVwa1NaTUIvN0JkYzgwNlFUV3h6ZCs5S2VkRDVaSy9GbWRDQm9adlR4SEFHMStpUDNuM1V1dG9PUENCZ0R6eHJYeEZHLzhzMFlWb25NMHI3TE1NZDIzbnNEQlI3ekNycE5RVHVBczQ2L1FKSjF1UTI3Q0xzaXNtcmM1Mi9LUHc3aDEvV0J6R2ZyUkJCT0lrbXg3c0NiN0JEL1RvWFlSSWZ4M1J2MVhiRWZZcUdXMGI3NVJlMXA0aFNlcE02Z1RPak43Ump6Z1BQdEpnMD0iLCJtYWMiOiIxZmU2YzlmYWE1NTE0OTQwNDFmMTkxYzdhNGM0Zjk2NDgyYjI4ZWM2NjlkODU3NTI4NzM1NTY0YmVkZjMxNzc5IiwidGFnIjoiIn0=:' \
--header 'Currency: SAR' \
--header 'Access-Token: eyJpdiI6ImNSZ0NKWXlMZ3hEcDZudU1wS3R1dVE9PSIsInZhbHVlIjoiZnRqdGRVUE1IdU9PaytvSk1pbGV5Zk5YUk9pRG9ONWVwa1NaTUIvN0JkYzgwNlFUV3h6ZCs5S2VkRDVaSy9GbWRDQm9adlR4SEFHMStpUDNuM1V1dG9PUENCZ0R6eHJYeEZHLzhzMFlWb25NMHI3TE1NZDIzbnNEQlI3ekNycE5RVHVBczQ2L1FKSjF1UTI3Q0xzaXNtcmM1Mi9LUHc3aDEvV0J6R2ZyUkJCT0lrbXg3c0NiN0JEL1RvWFlSSWZ4M1J2MVhiRWZZcUdXMGI3NVJlMXA0aFNlcE02Z1RPak43Ump6Z1BQdEpnMD0iLCJtYWMiOiIxZmU2YzlmYWE1NTE0OTQwNDFmMTkxYzdhNGM0Zjk2NDgyYjI4ZWM2NjlkODU3NTI4NzM1NTY0YmVkZjMxNzc5IiwidGFnIjoiIn0=:' \
--header 'Role: Manager' \
--header 'Authorization: eyJ0fXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzIiwianRpIjoiMTQyZjEyYTVlY2JhNzIyZTZlMjkwZjVlZDRhNmEwZDk1N2M4MGM3ZTVhODE4MjMyMjhjMzk0YjkyMGFkMmQ2ZDFkODI2YTYxOTI3MTEwMzUiLCJpYXQiOjE3MTA5NzY3MDYuNzUwOTI0LCJuYmYiOjE3MTA5NzY3MDYuNzUwOTI3LCJleHAiOjE3NDI1MTI3MDYuNzA2OTc5LCJzdWIiOiIzIiwic2NvcGVzIjpbIioiXX0.k2xkXywMs4eFArabnVFPH2CfBdMT1M-x0i6xGxM_OfUqKpFRxlTxj7tapbuSKDa2e-lyVr9AZwuCidj-5v1WQjYgj_bYRE-bi4CvGgY9reSVRy5l5a7i19nXNWyDfYHc_20CgMwrAUVlJoZLUkrQ3O6dAdjo83aoyktTKKfI7Q3-iWdFPAEzby_1pU5T883whYEWwfXWGzICwDQzulQzLm7dSAOy2xUNdB2CHn0tHCNHeaY8Mx11MBABAw_RVPZddR7kDOf5jc1g6fJ9YYGeru1ptZPwK2vHlRLnVJdbN5f4byE77LEVyb3daWuv3sYeIdEV3eV9WLmeGt0FlOjxpTHpEqBN4t1np6vV5nZyoluP9SuDXt5wKI7o3uPhat8vZ4B8pc-35484Y5_RxHyP2fxgQStqLFvMypJGoLMh2zg39sUP3oI35R1bIadKt49MM2c-RjP-16ngbK6np104hdFYojelf9EFRN9tY-yIUEyg5fWLw6mIBOxDFcqjZRUc-3P5VPgdeacp0-oU968YB1gP3155Dsu8DVxDr-iuQ5deusTpYnFlqokJ26VknHRJSMxlVBWptljv9EHNFw6a5gvcj8xht5ldm4b9RqisxUC0OlwJtK_pmhp-srp6biaj54u9zIvjKd-seJNumF1VM2nfJk63TnfPZbG9SLyPjuU' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": {
        "ar": "منتج قابل للتنزيل",
        "en": "downloadable product"
    },
    "price": 2,
    "is_draft": true,
    "product_class": "downloadable"
}'
Response Response Example
{
  "id": "5af835b7-1a37-4401-a3fc-6d9007c44c8f",
  "product_class": "downloadable",
  "sku": "Z.484979.17300084114100137",
  "barcode": "",
  "parent_id": null,
  "name": {
    "ar": "downloadable product"
  },
  "slug": "downloadable-product",
  "price": 2,
  "short_description": null,
  "sale_price": null,
  "formatted_price": "2.00  ر.س ",
  "formatted_sale_price": null,
  "currency": "SAR",
  "currency_symbol": " ر.س ",
  "attributes": [],
  "categories": [],
  "display_order": null,
  "has_options": false,
  "has_fields": false,
  "images": [],
  "is_draft": false,
  "quantity": null,
  "is_infinite": true,
  "html_url": "https://j1wfge.zid.store/products/downloadable-product",
  "weight": {
    "value": null,
    "unit": "kg"
  },
  "keywords": [],
  "requires_shipping": false,
  "is_taxable": true,
  "structure": "standalone",
  "seo": null,
  "rating": {
    "average": 0,
    "total_count": 0,
    "1_ratings": {
      "percentage": 0,
      "count": 0
    },
    "2_ratings": {
      "percentage": 0,
      "count": 0
    },
    "3_ratings": {
      "percentage": 0,
      "count": 0
    },
    "4_ratings": {
      "percentage": 0,
      "count": 0
    },
    "5_ratings": {
      "percentage": 0,
      "count": 0
    }
  },
  "store_id": 484979,
  "purchase_restrictions": {
    "min_quantity_per_cart": null,
    "max_quantity_per_cart": null,
    "availability_period_start": null,
    "availability_period_end": null,
    "sale_price_period_start": null,
    "sale_price_period_end": null
  },
  "metafields": null,
  "meta": {
    "download_limit": null,
    "expiration_period": null
  },
  "related_products_settings": "AUTO_GENERATED",
  "related_products_title": null,
  "badge": null,
  "variants": [],
  "cost": null,
  "is_published": true,
  "waiting_customers_count": null,
  "description": null,
  "custom_user_input_fields": [],
  "custom_option_fields": [],
  "options": [],
  "related_products": [],
  "next_product": null,
  "previous_product": null,
  "group_products": null,
  "stocks": [
    {
      "id": "36173f2b-f412-4b48-89bd-43d7733daf80",
      "location": {
        "id": "4e67872b-3483-4615-8fec-0cc4f9efc064",
        "name": {
          "ar": "المخزون الأساسي"
        },
        "type": "PHYSICAL",
        "full_address": "RGRB7496, 7496 Al Raht, 3901، حي الرحمانية، Riyadh 12341, Saudi Arabia"
      },
      "available_quantity": null,
      "is_infinite": true
    }
  ],
  "sold_products_count": null,
  "created_at": "2024-10-27T05:53:31.411987Z",
  "updated_at": "2024-10-27T05:53:31.412015Z"
}

Request

Header Params
Store-Id
integer 
optional
Unique identifier of the store.
Example:
3
Accept-Language
string 
optional
Preferred language for the response. Defaults to en if not specified.
Example:
ar
X-manager-Token
string 
optional
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token should be included in the header of API requests that require store-related information.
Example:
eyJpdiI6ImNSZ0NKWXlMZ3hEcDZudU1wS3R1dVE9PSIsInZhbHVlIjoiZnRqdGRVUE1IdU9PaytvSk1pbGV5Zk5YUk9pRG9ONWVwa1NaTUIvN0JkYzgwNlFUV3h6ZCs5S2VkRDVaSy9GbWRDQm9adlR4SEFHMStpUDNuM1V1dG9PUENCZ0R6eHJYeEZHLzhzMFlWb25NMHI3TE1NZDIzbnNEQlI3ekNycE5RVHVBczQ2L1FKSjF1UTI3Q0xzaXNtcmM1Mi9LUHc3aDEvV0J6R2ZyUkJCT0lrbXg3c0NiN0JEL1RvWFlSSWZ4M1J2MVhiRWZZcUdXMGI3NVJlMXA0aFNlcE02Z1RPak43Ump6Z1BQdEpnMD0iLCJtYWMiOiIxZmU2YzlmYWE1NTE0OTQwNDFmMTkxYzdhNGM0Zjk2NDgyYjI4ZWM2NjlkODU3NTI4NzM1NTY0YmVkZjMxNzc5IiwidGFnIjoiIn0=:
Currency
string 
optional
The currency in which the data should be returned. This should be provided as an ISO 4217 currency code. For example, SAR for Saudi Riyal, USD for United States Dollar, KWD for Kuwaiti Dinar, etc.
Example:
SAR
Access-Token
string 
optional
An Access Token is a unique string that represents the authorization granted to a client (Partner application) by a user (Merchant or Store Manager) to access their protected resources. It is part of the OAuth 2.0 standard and is used to authenticate API requests on behalf of the user. Access Tokens have a limited lifespan and must be used within their validity period. Once expired, a new Access Token can be obtained using a Refresh Token. Access Tokens should be treated as sensitive information and must be kept secure to prevent unauthorized access to the user's data. If you do not have an Access-Token, but have the older alternative instead, i.e., the X-Manager-Token, then see the instructions here on how to obtain the Access-Token.
Example:
eyJpdiI6ImNSZ0NKWXlMZ3hEcDZudU1wS3R1dVE9PSIsInZhbHVlIjoiZnRqdGRVUE1IdU9PaytvSk1pbGV5Zk5YUk9pRG9ONWVwa1NaTUIvN0JkYzgwNlFUV3h6ZCs5S2VkRDVaSy9GbWRDQm9adlR4SEFHMStpUDNuM1V1dG9PUENCZ0R6eHJYeEZHLzhzMFlWb25NMHI3TE1NZDIzbnNEQlI3ekNycE5RVHVBczQ2L1FKSjF1UTI3Q0xzaXNtcmM1Mi9LUHc3aDEvV0J6R2ZyUkJCT0lrbXg3c0NiN0JEL1RvWFlSSWZ4M1J2MVhiRWZZcUdXMGI3NVJlMXA0aFNlcE02Z1RPak43Ump6Z1BQdEpnMD0iLCJtYWMiOiIxZmU2YzlmYWE1NTE0OTQwNDFmMTkxYzdhNGM0Zjk2NDgyYjI4ZWM2NjlkODU3NTI4NzM1NTY0YmVkZjMxNzc5IiwidGFnIjoiIn0=:
Role
string 
optional
Role of the user.
Example:
Manager
Authorization
string 
optional
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Example:
eyJ0fXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzIiwianRpIjoiMTQyZjEyYTVlY2JhNzIyZTZlMjkwZjVlZDRhNmEwZDk1N2M4MGM3ZTVhODE4MjMyMjhjMzk0YjkyMGFkMmQ2ZDFkODI2YTYxOTI3MTEwMzUiLCJpYXQiOjE3MTA5NzY3MDYuNzUwOTI0LCJuYmYiOjE3MTA5NzY3MDYuNzUwOTI3LCJleHAiOjE3NDI1MTI3MDYuNzA2OTc5LCJzdWIiOiIzIiwic2NvcGVzIjpbIioiXX0.k2xkXywMs4eFArabnVFPH2CfBdMT1M-x0i6xGxM_OfUqKpFRxlTxj7tapbuSKDa2e-lyVr9AZwuCidj-5v1WQjYgj_bYRE-bi4CvGgY9reSVRy5l5a7i19nXNWyDfYHc_20CgMwrAUVlJoZLUkrQ3O6dAdjo83aoyktTKKfI7Q3-iWdFPAEzby_1pU5T883whYEWwfXWGzICwDQzulQzLm7dSAOy2xUNdB2CHn0tHCNHeaY8Mx11MBABAw_RVPZddR7kDOf5jc1g6fJ9YYGeru1ptZPwK2vHlRLnVJdbN5f4byE77LEVyb3daWuv3sYeIdEV3eV9WLmeGt0FlOjxpTHpEqBN4t1np6vV5nZyoluP9SuDXt5wKI7o3uPhat8vZ4B8pc-35484Y5_RxHyP2fxgQStqLFvMypJGoLMh2zg39sUP3oI35R1bIadKt49MM2c-RjP-16ngbK6np104hdFYojelf9EFRN9tY-yIUEyg5fWLw6mIBOxDFcqjZRUc-3P5VPgdeacp0-oU968YB1gP3155Dsu8DVxDr-iuQ5deusTpYnFlqokJ26VknHRJSMxlVBWptljv9EHNFw6a5gvcj8xht5ldm4b9RqisxUC0OlwJtK_pmhp-srp6biaj54u9zIvjKd-seJNumF1VM2nfJk63TnfPZbG9SLyPjuU
Body Params application/json
name
object 
required
Product name object.
ar
string 
required
Name in Arabic.
Example:
منتج قابل للتنزيل
en
string 
required
Name in English.
Example:
downloadable product
price
integer 
required
The regular price of the product.
Example:
2
is_draft
boolean 
required
Indicates whether the product is in a draft state.
Default:
true
product_class
string 
required
Specifies the type of product.
Example:
downloadable
Examples

Responses

🟢200Success
application/json
Body
id
string 
required
Unique identifier for the product.
Example:
5af835b7-1a37-4401-a3fc-6d9007c44c8f
product_class
string 
required
Specifies the type of product.
Example:
downloadable
sku
string 
required
Stock Keeping Unit.
Example:
Z.484979.17300084114100137
barcode
string 
required
Barcode assigned to the product.
Example:
[]
parent_id
null 
required
Identifier for the parent product.
name
object 
required
Product name object.
ar
string 
required
Name in Arabic.
Example:
downloadable product
slug
string 
required
A URL-friendly identifier for the product.
Example:
downloadable-product
price
integer 
required
The regular price of the product.
Example:
2
short_description
null 
required
A brief description of the product.
sale_price
null 
required
Discounted price for the product if applicable.
formatted_price
string 
required
The formatted display of the product’s price including currency symbol.
Example:
2.00 ر.س
formatted_sale_price
null 
required
Display for the sale price with currency symbol.
currency
string 
required
Currency code for the product’s price.
Example:
SAR
currency_symbol
string 
required
Symbol for the currency.
Example:
ر.س
attributes
array[string]
required
Array containing custom attributes associated with the product.
categories
array[string]
required
Categories the product belongs to, helps with organization and searchability.
display_order
null 
required
Specifies the product’s display order on listing pages, null if no custom order is set.
has_options
boolean 
required
Boolean indicating if the product has selectable options, such as size or color.
Default:
false
has_fields
boolean 
required
Boolean indicating if the product requires custom user input fields.
Default:
false
images
array[string]
required
Array of images associated with the product, empty here as this is a downloadable product.
is_draft
boolean 
required
Indicates whether the product is saved as a draft, allowing incomplete products to be saved without publishing.
Default:
false
quantity
null 
required
Available quantity for the product.
is_infinite
boolean 
required
Boolean indicating unlimited stock availability.
Default:
true
html_url
string 
required
Public URL for accessing the product on the storefront.
Example:
https://j1wfge.zid.store/products/downloadable-product
weight
object 
required
Weight of the product, including value and unit (e.g., "kg").
value
null 
required
unit
string 
required
Example:
kg
keywords
array[string]
required
Array of keywords associated with the product to improve searchability.
requires_shipping
boolean 
required
Boolean indicating whether the product requires shipping.
Default:
false
is_taxable
boolean 
required
Boolean indicating whether the product is subject to tax.
Default:
true
structure
string 
required
Product structure type, such as standalone or bundled.
Example:
standalone
seo
null 
required
Search engine optimization information for the product.
rating
object 
required
Object with rating details, including average rating and counts of ratings across different levels.
average
integer 
required
Example:
0
total_count
integer 
required
Example:
0
1_ratings
object 
required
2_ratings
object 
required
3_ratings
object 
required
4_ratings
object 
required
5_ratings
object 
required
store_id
integer 
required
Identifier of the store selling this product.
Example:
484979
purchase_restrictions
object 
required
Object detailing any purchase limits, such as minimum or maximum quantities, availability period, and sale price duration.
min_quantity_per_cart
null 
required
max_quantity_per_cart
null 
required
availability_period_start
null 
required
availability_period_end
null 
required
sale_price_period_start
null 
required
sale_price_period_end
null 
required
metafields
null 
required
Custom fields associated with the product.
meta
object 
required
Additional product metadata, such as download_limit and expiration_period, which are specific to digital products.
download_limit
null 
required
expiration_period
null 
required
related_products_settings
string 
required
Specifies how related products are generated.
Example:
AUTO_GENERATED
related_products_title
null 
required
Title for the related products section.
badge
null 
required
Promotional badge associated with the product.
variants
array[string]
required
Array of product variants.
cost
null 
required
Cost of the product.
is_published
boolean 
required
Boolean indicating if the product is live and visible to customers.
Default:
true
waiting_customers_count
null 
required
Number of customers waiting for the product.
description
null 
required
Full description of the product, usually longer and more detailed.
custom_user_input_fields
array[string]
required
Array for custom fields requiring user input.
custom_option_fields
array[string]
required
Array for custom options associated with the product.
options
array[string]
required
Product options available to customers.
related_products
array[string]
required
Array of related products.
next_product
null 
required
Identifier of the next product in the listing.
previous_product
null 
required
Identifier of the previous product in the listing.
group_products
null 
required
Array for grouped products.
stocks
array [object {4}] 
required
Array of stock locations and available quantity for each location, set to infinite for downloadable products.
id
string 
optional
Example:
36173f2b-f412-4b48-89bd-43d7733daf80
location
object 
optional
available_quantity
null 
optional
is_infinite
boolean 
optional
Default:
true
sold_products_count
null 
required
Count of products sold.
created_at
string 
required
Timestamp indicating when the product was created.
Example:
2024-10-27T05:53:31.411987Z
updated_at
string 
required
Timestamp indicating the last time the product was updated.
Example:
2024-10-27T05:53:31.412015Z
Modified at 2025-01-28 06:01:39
Previous
Digital Products
Next
Generate an Upload URL
Built with