crm-v1-products

Criar produto

Criar produto

post/products

Request

  • Base URL
    https://crm.rdstation.com/api/v1
  • URL
    https://crm.rdstation.com/api/v1/products
  • Auth
    API key in query parameter token

Request body

Example request

{
  "product": {
    "base_price": "10.00",
    "description": "um lapis muito bom",
    "name": "Lapis",
    "product_custom_fields": [
      {
        "custom_field_id": "66e99df3a2d970001d5bfd19",
        "value": "MDF"
      }
    ]
  }
}

Response

Success

_idstring
base_pricestring
created_atstring
descriptionstring
namestring
updated_atstring
visibleboolean

Example response

{
  "_id": "63f8b9e60e43a5000b1201db",
  "base_price": "10.00",
  "created_at": "2023-02-24T10:21:42.753-03:00",
  "description": "um lapis muito bom",
  "name": "Lapis",
  "product_custom_fields": [
    {
      "created_at": "2019-08-29T13:14:34.457-03:00",
      "custom_field_id": "66e99d06a2d970001d5bfd18",
      "id": "66e99d06a2d970001d5bfd18",
      "updated_at": "2019-08-29T13:14:34.457-03:00",
      "value": "12cm"
    }
  ],
  "updated_at": "2023-02-24T10:21:42.753-03:00",
  "visible": true
}

Changes

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