Skip to main content

BigCommerce actions

The BigCommerce extension provides actions for retrieving product data from BigCommerce within Workforce Flows. Use these actions to fetch individual products or search and browse products by keyword or category as part of your automated content processes.

The BigCommerce action extension can be installed from the Workforce integration marketplace.

See BigCommerce configuration for details of how to obtain the credentials you need to configure the BigCommerce action extension.

Tip

These action descriptions cover the most commonly used inputs and outputs. When designing flows, you may also notice additional input and output variables.

Get product by ID
Link copied!

Retrieves full product data for a single product by its ID using the BigCommerce Catalog API.

Inputs

InputTypeRequiredDescription
idstringYesThe unique identifier of the product
includestringNoComma-separated list of sub-resources to include. Allowed values: bulk_pricing_rules, channels, custom_fields, images, modifiers, options, parent_relations, primary_image, reviews, variants, videos
include_fieldsstringNoComma-separated list of fields to include. The ID and specified fields will be returned
exclude_fieldsstringNoComma-separated list of fields to exclude. The ID cannot be excluded

Outputs

OutputTypeDescription
productobjectThe full product object. See product object below

Get basic product by ID
Link copied!

Retrieves a simplified set of product data for a single product by its ID using the BigCommerce Catalog API. Use this action when you only need core product fields.

Inputs

InputTypeRequiredDescription
idstringYesThe unique identifier of the product

Outputs

OutputTypeDescription
product.idstringProduct ID
product.namestringProduct name
product.descriptionstringDescription
product.imagesarrayList of image objects, each with a url field

Get products by search term
Link copied!

Retrieves a paginated list of products matching a search term from the BigCommerce Catalog API.

Inputs

InputTypeRequiredDescription
termstringYesThe search query string used to find matching products
includestringNoComma-separated list of sub-resources to include. Allowed values: bulk_pricing_rules, channels, custom_fields, images, modifiers, options, parent_relations, primary_image, reviews, variants, videos
include_fieldsstringNoComma-separated list of fields to include. The ID and specified fields will be returned
exclude_fieldsstringNoComma-separated list of fields to exclude. The ID cannot be excluded
pagination.pagestringNoPage number to retrieve. Default: 1
pagination.limitstringNoNumber of items per page. Maximum: 20. Default: 20
pagination.sortstringNoField to sort by. Allowed values: id, name, sku, price, date_modified, date_last_imported, inventory_level, is_visible, total_sold, calculated_price
pagination.directionstringNoSort direction. Accepted values: asc, desc

Outputs

OutputTypeDescription
totalnumberTotal number of matching products
countnumberNumber of products returned in this page
perPagenumberNumber of products per page
currentPagenumberCurrent page number
totalPagesnumberTotal number of pages
nextPagenumberNext page number
sortstringThe sort field applied
directionstringThe sort direction applied
productsarrayList of full product objects. See product object below

Get basic products by optional keyword
Link copied!

Retrieves a cursor-paginated list of products matching an optional keyword from the BigCommerce Catalog API. Intended for use with commerce repositories.

Inputs

InputTypeRequiredDescription
keywordstringNoThe search phrase used to find matching products. If omitted, returns all products
beforestringNoA pagination cursor to retrieve the page of products before a given position. Use the startCursor value from a previous response
afterstringNoA pagination cursor to retrieve the page of products after a given position. Use the endCursor value from a previous response

Outputs

OutputTypeDescription
pageInfo.startCursorstringCursor for the first item in the current page
pageInfo.endCursorstringCursor for the last item in the current page
pageInfo.hasPreviousPagebooleanWhether a previous page exists
pageInfo.hasNextPagebooleanWhether a next page exists
productsarrayList of basic product objects, each with id, name, description, and images (array of objects with a url field)

Get products by category ID
Link copied!

Retrieves a paginated list of products belonging to a category using the BigCommerce Catalog API.

Inputs

InputTypeRequiredDescription
idstringYesThe category ID used to find matching products
includestringNoComma-separated list of sub-resources to include. Allowed values: bulk_pricing_rules, channels, custom_fields, images, modifiers, options, parent_relations, primary_image, reviews, variants, videos
include_fieldsstringNoComma-separated list of fields to include. The ID and specified fields will be returned
exclude_fieldsstringNoComma-separated list of fields to exclude. The ID cannot be excluded
pagination.pagestringNoPage number to retrieve. Default: 1
pagination.limitstringNoNumber of items per page. Maximum: 20. Default: 20
pagination.sortstringNoField to sort by. Allowed values: id, name, sku, price, date_modified, date_last_imported, inventory_level, is_visible, total_sold, calculated_price
pagination.directionstringNoSort direction. Accepted values: asc, desc

Outputs

OutputTypeDescription
totalnumberTotal number of matching products
countnumberNumber of products returned in this page
perPagenumberNumber of products per page
currentPagenumberCurrent page number
totalPagesnumberTotal number of pages
nextPagenumberNext page number
sortstringThe sort field applied
directionstringThe sort direction applied
productsarrayList of full product objects. See product object below

Product object
Link copied!

The following fields are returned on the product output object for actions that return full product data. Sub-resources such as images, variants, options, and reviews are only included when requested via the include input.

Core fields
Link copied!

FieldTypeDescription
idnumberProduct ID
namestringProduct name
typestringProduct type
skustringSKU
descriptionstringProduct description
warrantystringWarranty information
bin_picking_numberstringBin picking number
layout_filestringLayout file
pricenumberPrice
cost_pricenumberCost price
retail_pricenumberRetail price
sale_pricenumberSale price
map_pricenumberMinimum advertised price
calculated_pricenumberCalculated price
is_price_hiddenbooleanWhether the price is hidden
price_hidden_labelstringLabel shown when price is hidden
weightnumberWeight
widthnumberWidth
heightnumberHeight
depthnumberDepth
fixed_cost_shipping_pricenumberFixed cost shipping price
is_free_shippingbooleanWhether shipping is free
tax_class_idnumberTax class ID
product_tax_codestringProduct tax code
inventory_levelnumberInventory level
inventory_warning_levelnumberInventory warning level
inventory_trackingstringInventory tracking method
categoriesarray of numbersCategory IDs
brand_idnumberBrand ID
conditionstringProduct condition
is_condition_shownbooleanWhether condition is shown
is_visiblebooleanWhether the product is visible
is_featuredbooleanWhether the product is featured
related_productsstringRelated products
total_soldnumberTotal units sold
reviews_rating_sumnumberSum of review ratings
reviews_countnumberNumber of reviews
order_quantity_minimumnumberMinimum order quantity
order_quantity_maximumnumberMaximum order quantity
page_titlestringSEO page title
meta_keywordsarray of stringsMeta keywords
meta_descriptionstringMeta description
search_keywordsstringSearch keywords
upcstringUPC code
mpnstringManufacturer part number
gtinstringGlobal Trade Item Number
date_createdstringDate created
date_modifiedstringDate last modified
date_last_importedstringDate last imported
view_countnumberView count
preorder_release_datestringPre-order release date
preorder_messagestringPre-order message
is_preorder_onlybooleanWhether product is pre-order only
option_set_idnumberOption set ID
option_set_displaystringOption set display setting
base_variant_idnumberBase variant ID
availabilitystringAvailability status
availability_descriptionstringAvailability description
custom_url.urlstringCustom URL path
custom_url.is_customizedbooleanWhether the URL is customized
open_graph_typestringOpen Graph type
open_graph_titlestringOpen Graph title
open_graph_descriptionstringOpen Graph description
open_graph_use_meta_descriptionbooleanUse meta description for Open Graph
open_graph_use_product_namebooleanUse product name for Open Graph
open_graph_use_imagebooleanUse product image for Open Graph

Sub-resource fields (via include)
Link copied!

Sub-resourceTypeFields
bulk_pricing_rulesarrayid (number), quantity_min (number), quantity_max (number), type (string), amount (number)
channelsarraychannel_id (number)
custom_fieldsarrayid (number), name (string), value (string)
imagesarrayid (number), product_id (number), is_thumbnail (boolean), sort_order (number), description (string), image_url (string), url_zoom (string), url_standard (string), url_thumbnail (string), url_tiny (string)
primary_imageobjectSame fields as images above
modifiersarrayid (number), name (string), display_name (string), type (string), required (boolean), sort_order (number), option_values (array of objects with id, label, sort_order, is_default)
optionsarrayid (number), display_name (string), type (string), sort_order (number), option_values (array of objects with id, label, sort_order, is_default)
parent_relationsarrayproduct_id (number), parent_id (number)
reviewsarrayid (number), product_id (number), title (string), text (string), rating (number), status (string), email (string), name (string), date_created (string)
variantsarrayid (number), product_id (number), sku (string), price (number), cost_price (number), retail_price (number), sale_price (number), calculated_price (number), weight (number), width (number), height (number), depth (number), is_free_shipping (boolean), fixed_cost_shipping_price (number), inventory_level (number), inventory_warning_level (number), option_values (array of objects with id, option_id, label)
videosarrayid (number), title (string), description (string), sort_order (number), type (string), video_id (string)

Adding actions to flows

Inputs, outputs and ports

Input field variables

Developing extensions