Skip to content

Getting product attributes lists 

You can download a complete list of product attributes. It will only contain attributes defined by you in the Settings > Orders > Product attributes section. 

You can read more about it here: Product attributes

GET method 

The GET method is used to obtain a list of all product attributes along with their properties.

Your GET query must contain:

  1. Server address (endpoint): https://api.ecdp.app/productattributes
  1. API key: your API key, found in Settings > API.

A valid API query for product attribute list looks like this: https://client.ecdp.app/productattributes

What data will be included in the response? 

The response to a correctly submitted query contains the following data: 

Parameter Type Description 
id Integer($int32) Product attribute’s identification number visible under Settings > Orders > Product attributes. 
name string Product attribute’s name assigned by you in Settings > Orders > Product attributes. 
type string Attribute type with its properties: String, Text, Number, Money, Date, DateTime, SingleSelect, Boolean, Url. 

Query response codes  

200: Success 

The query has been processed and the server has returned a response. Sample response syntax looks as follows: 

{
  "status": 0,
  "data": [
    {
      "id": 0,
      "name": "string",
      "type": "string"
    }
  ]
}

401: Unauthorized 

The request was missing an API key or you are requesting access to information that you do not have permission to access. Sample response syntax looks as follows: 

{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
On this page
To top