Products

Add, edit, and delete anything related to products.

Product

product_id
integer

The product ID for the item in WP EasyCart. Leave blank if adding new or updating a product.

sku
string

The model number / SKU

post_id
integer

The post ID in WordPress for this item.

active
boolean

Is this item activated in your store.

is_main
boolean

Should we show this product on the main store page

sort_position
integer

The default sort order.

title
string

The product title

description
string

The full description for the product

short_description
string

The short description for the product

specifications
string

The full specs for the product

object (Pricing)
object (ProductQuantity)
object (Images)
object (ProductShipping)
object (ProductTax)
object (Seo)
object (CustomerReviews)
object (Manufacturer)
object (Download)
object (Variants)
Array of objects (ModifiersArray)
Array of objects (CategoriesArray)
object (MenuLocations)
object (FeaturedProducts)
object (ProductSubscription)
object (ProductOrderNotes)
role_id
integer

Restrict this product to a specific user role id

is_giftcard
boolean

Is this a giftcard item

is_donation
boolean

Is this a donation item

is_special
boolean

Is this item on the special widget

object (ProductStats)
object (QuickbooksProduct)
object (ProductSeasonal)
object (ProductInquiry)
object (Deconetwork)
object (ProductDisplay)
square_id
string

The SquareUp ID for this product, used for syncing.

square_variation_id
string

The variation ID for this product, which is sometimes applicable.

{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews": {
    },
  • "manufacturer": {
    },
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

ProductListItem

product_id
integer

The product ID for the item in WP EasyCart. Leave blank if adding new or updating a product.

sku
string

The model number / SKU

post_id
integer

The post ID in WordPress for this item.

active
boolean

Is this item activated in your store.

is_main
boolean

Should we show this product on the main store page

sort_position
integer

The default sort order.

title
string

The product title

description
string

The full description for the product

short_description
string

The short description for the product

specifications
string

The full specs for the product

object (Pricing)
object (ProductQuantitySimple)
object (ImagesSimple)
object (ProductShipping)
object (ProductTax)
object (Seo)
reviews_enabled
boolean

Are customer reviews enabled

manufacturer_id
integer

The manufacturer ID for this product

object (Download)
object (VariantsSimple)
object (MenuLocations)
object (FeaturedProducts)
object (ProductSubscription)
object (ProductOrderNotes)
role_id
integer

Restrict this product to a specific user role id

is_giftcard
boolean

Is this a giftcard item

is_donation
boolean

Is this a donation item

is_special
boolean

Is this item on the special widget

object (ProductStats)
object (QuickbooksProduct)
object (ProductSeasonal)
object (ProductInquiry)
object (Deconetwork)
object (ProductDisplay)
square_id
string

The SquareUp ID for this product, used for syncing.

square_variation_id
string

The variation ID for this product, which is sometimes applicable.

{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews_enabled": true,
  • "manufacturer_id": 0,
  • "download": {
    },
  • "variants": {
    },
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

ProductAdd

sku
string

The model number / SKU

active
boolean

Is this item activated in your store.

is_main
boolean

Should we show this product on the main store page

sort_position
integer

The default sort order.

title
string

The product title

description
string

The full description for the product

short_description
string

The short description for the product

specifications
string

The full specs for the product

object (Pricing)
object (ProductQuantity)
object (Images)
object (ProductShipping)
object (ProductTax)
object (Seo)
reviews_enabled
boolean

Are customer reviews enabled

manufacturer_id
integer

Manufacturer ID for product.

object (Download)
object (VariantsSimple)
Array of objects (ModifiersArray)
Array of objects (CategoriesArray)
object (MenuLocations)
object (FeaturedProducts)
object (ProductSubscriptionAdd)
object (ProductOrderNotes)
role_id
integer

Restrict this product to a specific user role id

is_giftcard
boolean

Is this a giftcard item

is_donation
boolean

Is this a donation item

is_special
boolean

Is this item on the special widget

object (ProductStats)
object (QuickbooksProduct)
object (ProductSeasonal)
object (ProductInquiry)
object (Deconetwork)
object (ProductDisplay)
square_id
string

The SquareUp ID for this product, used for syncing.

square_variation_id
string

The variation ID for this product, which is sometimes applicable.

{
  • "sku": "string",
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews_enabled": true,
  • "manufacturer_id": 0,
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

Gets a list of products

This allows you to get a list of products

SecuritybearerAuth or basicAuth
Request
query Parameters
page
integer <int64>

Page number starting at 1

perpage
integer <int64>

Number of items per page

sortby
string

Sort results by term

sortdir
string

Sort results ASC or DESC

search
string

Filter orders by a search term

Responses
200

Successful operation

400

Unauthorized

get/products
Request samples
Response samples
application/json
[
  • {
    }
]

Add a product

This allows you to add a new product

SecuritybearerAuth
Request
Request Body schema: application/json
required

Submit any or all elements to add a new product.

sku
required
string

The model number / SKU

active
boolean

Is this item activated in your store.

is_main
boolean

Should we show this product on the main store page

sort_position
integer

The default sort order.

title
required
string

The product title

description
string

The full description for the product

short_description
string

The short description for the product

specifications
string

The full specs for the product

object (Pricing)
object (ProductQuantity)
object (Images)
object (ProductShipping)
object (ProductTax)
object (Seo)
reviews_enabled
boolean

Are customer reviews enabled

manufacturer_id
integer

Manufacturer ID for product.

object (Download)
object (VariantsSimple)
Array of objects (ModifiersArray)
Array of objects (CategoriesArray)
object (MenuLocations)
object (FeaturedProducts)
object (ProductSubscriptionAdd)
object (ProductOrderNotes)
role_id
integer

Restrict this product to a specific user role id

is_giftcard
boolean

Is this a giftcard item

is_donation
boolean

Is this a donation item

is_special
boolean

Is this item on the special widget

object (ProductStats)
object (QuickbooksProduct)
object (ProductSeasonal)
object (ProductInquiry)
object (Deconetwork)
object (ProductDisplay)
square_id
string

The SquareUp ID for this product, used for syncing.

square_variation_id
string

The variation ID for this product, which is sometimes applicable.

Responses
200

Successful operation

400

Unauthorized

post/products
Request samples
application/json
{
  • "sku": "string",
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews_enabled": true,
  • "manufacturer_id": 0,
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}
Response samples
application/json
{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews": {
    },
  • "manufacturer": {
    },
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

Gets a product by ID

This allows you to get an product from your store by Product ID

SecuritybearerAuth or basicAuth
Request
path Parameters
product_id
required
integer <int64>

Product ID

Responses
200

Successful operation

400

Unauthorized

get/products/{product_id}
Request samples
Response samples
application/json
{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews": {
    },
  • "manufacturer": {
    },
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

Updates a product by ID

This allows you to update a product by Product ID

SecuritybearerAuth
Request
path Parameters
product_id
required
integer <int64>

Product ID

Request Body schema: application/json
required

Submit any or all elements to update the product by ID.

sku
string

The model number / SKU

active
boolean

Is this item activated in your store.

is_main
boolean

Should we show this product on the main store page

sort_position
integer

The default sort order.

title
string

The product title

description
string

The full description for the product

short_description
string

The short description for the product

specifications
string

The full specs for the product

object (Pricing)
object (ProductQuantity)
object (Images)
object (ProductShipping)
object (ProductTax)
object (Seo)
reviews_enabled
boolean

Are customer reviews enabled

manufacturer_id
integer

Manufacturer ID for product.

object (Download)
object (VariantsSimple)
Array of objects (ModifiersArray)
Array of objects (CategoriesArray)
object (MenuLocations)
object (FeaturedProducts)
object (ProductSubscriptionAdd)
object (ProductOrderNotes)
role_id
integer

Restrict this product to a specific user role id

is_giftcard
boolean

Is this a giftcard item

is_donation
boolean

Is this a donation item

is_special
boolean

Is this item on the special widget

object (ProductStats)
object (QuickbooksProduct)
object (ProductSeasonal)
object (ProductInquiry)
object (Deconetwork)
object (ProductDisplay)
square_id
string

The SquareUp ID for this product, used for syncing.

square_variation_id
string

The variation ID for this product, which is sometimes applicable.

Responses
200

Successful operation

400

Unauthorized

patch/products/{product_id}
Request samples
application/json
{
  • "sku": "string",
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews_enabled": true,
  • "manufacturer_id": 0,
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}
Response samples
application/json
{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews": {
    },
  • "manufacturer": {
    },
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}

Deletes a product by ID

This allows you to delete a product from your store by Product ID

SecuritybearerAuth
Request
path Parameters
product_id
required
integer <int64>

Product ID

Responses
200

Successful operation

400

Unauthorized

delete/products/{product_id}
Request samples
Response samples
application/json
{
  • "product_id": 0,
  • "sku": "string",
  • "post_id": 0,
  • "active": true,
  • "is_main": true,
  • "sort_position": 0,
  • "title": "string",
  • "description": "string",
  • "short_description": "string",
  • "specifications": "string",
  • "pricing": {
    },
  • "quantity": {
    },
  • "images": {
    },
  • "shipping": {
    },
  • "tax": {
    },
  • "seo": {
    },
  • "reviews": {
    },
  • "manufacturer": {
    },
  • "download": {
    },
  • "variants": {
    },
  • "modifiers": [
    ],
  • "categories": [
    ],
  • "menu": {
    },
  • "featured_products": {
    },
  • "subscription": {
    },
  • "order_notes": {
    },
  • "role_id": 0,
  • "is_giftcard": true,
  • "is_donation": true,
  • "is_special": true,
  • "stats": {
    },
  • "quickbooks": {
    },
  • "seasonal": {
    },
  • "inquiry": {
    },
  • "deconetwork": {
    },
  • "display": {
    },
  • "square_id": "string",
  • "square_variation_id": "string"
}