biterp

Buscar produto por record number

GET
/products/by-record-number/{record_number}
AuthorizationBearer <token>

In: header

Query Parameters

expand?string

Comma-separated relations to expand, using dot-paths for nested ones. Absent or empty means no expansion: each relation is returned as null with its reference field filled (<rel>_id, or a natural key such as country_code). Valid paths: unit_of_measurement.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.biterp.ai/products/by-record-number/{record_number}"
{
  "id": "string",
  "record_number": 0,
  "reference_code": "string",
  "name": "string",
  "description": "string",
  "tags": [
    "string"
  ],
  "type": "goods",
  "sale_price": "99.900000",
  "image_url": "string",
  "is_blocked": true,
  "metadata": {},
  "unit_of_measurement_id": "4e07c0f9-efdb-49c6-a977-aed0b75f3157",
  "unit_of_measurement": {
    "id": "string",
    "code": "string",
    "symbol": "string",
    "fiscal_codes": {
      "property1": "string",
      "property2": "string"
    },
    "country_codes": [
      "string"
    ],
    "titles": {
      "property1": "string",
      "property2": "string"
    },
    "descriptions": {
      "property1": "string",
      "property2": "string"
    },
    "is_blocked": true,
    "display_order": 0,
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "br_data": {
    "ncm_code": "string",
    "cest_code": "string",
    "federal_service_code": "string",
    "city_service_code": "string",
    "nbs_code": "string",
    "taxation_type": "taxation_in_municipality",
    "cnae_code": "string",
    "ibs_cbs_cst": "string",
    "ibs_cbs_classification": "string",
    "ibs_cbs_operation_indicator_code": "string",
    "ibs_cbs_is_personal_use": true,
    "origin": "string",
    "extipi": "string"
  },
  "us_data": {
    "hts_code": "string",
    "schedule_b_code": "string",
    "eccn_code": "string",
    "tax_code": "string",
    "sales_tax_category": "string",
    "country_of_origin": "string",
    "upc_code": "string"
  },
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "deleted_at": "2019-08-24T14:15:22Z"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND",
  "details": {
    "field": "tax_id",
    "existing_id": "018f3e4c-9b4a-7b01-8d4a-6de1f0f80001"
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND",
  "details": {
    "field": "tax_id",
    "existing_id": "018f3e4c-9b4a-7b01-8d4a-6de1f0f80001"
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND",
  "details": {
    "field": "tax_id",
    "existing_id": "018f3e4c-9b4a-7b01-8d4a-6de1f0f80001"
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND",
  "details": {
    "field": "tax_id",
    "existing_id": "018f3e4c-9b4a-7b01-8d4a-6de1f0f80001"
  }
}