POST
/
ecommerce
/
products
curl --request POST \
  --url https://api.rootfi.dev/v3/ecommerce/products \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 123,
  "data": [
    {
      "name": "John Doe",
      "description": "John Doe",
      "status": "ACTIVE",
      "created_at": "2024-01-22T05:07:31.465Z",
      "updated_at": "2024-01-22T05:07:31.000Z"
    }
  ]
}'
{
  "data": {
    "rootfi_id": 157,
    "rootfi_deleted_at": null,
    "rootfi_created_at": "2024-01-22T05:07:31.465Z",
    "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
    "rootfi_company_id": 1089,
    "platform_id": "123456_1",
    "platform_unique_id": "123456",
    "name": "John Doe",
    "description": "John Doe",
    "status": "ACTIVE",
    "created_at": "2024-01-22T05:07:31.465Z",
    "updated_at": "2024-01-22T05:07:31.000Z"
  }
}

The Products Data Model is designed to streamline the management and retrieval of products-related information across various accounting platforms.

Authorizations

api_key
string
header
required

Body

application/json

Response

200
application/json

The response is of type object.