List product extras

Retrieves a list of product extras assigned to a product.

get/products/{product_id}/extras

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/products/{product_id}/extras
  • Auth
    HTTP basic

Path parameters

product_idinteger required

ID of the product which the extras are assigned to.

Query parameters

fieldsstring

Comma-separated list of fields to include in the response.

Response

A list of product extras.

idinteger

Product extra ID.

namestring

Product extra name.

pricenumber float

Product extra price.

costPricenumber float

Product extra cost price. A value of -1 indicates it is not set.

skustring

Product extra SKU. Used to link to another product.

Changes

No recorded changes to this operation across all 1 revision of this API.