Merge · Schema

Item

# The Item Object ### Description The `Item` object refers to the goods involved in a transaction. ### Usage Example Fetch from the `LIST Items` endpoint and view a company's items.

IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Properties

Name Type Description
id string
remote_id stringnull The third-party API ID of the matching object.
created_at string The datetime that this object was created by Merge.
modified_at string The datetime that this object was modified by Merge.
name stringnull The item's name.
status object The item's status.
type object The item's type.
unit_price numbernull The item's unit price.
purchase_price numbernull The price at which the item is purchased from a vendor.
purchase_account stringnull References the default account used to record a purchase of the item.
sales_account stringnull References the default account used to record a sale.
company stringnull The company the item belongs to.
purchase_tax_rate stringnull The default purchase tax rate for this item.
sales_tax_rate stringnull The default sales tax rate for this item.
remote_updated_at stringnull When the third party's item note was updated.
remote_was_deleted boolean Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited cove
field_mappings object
remote_data arraynull
View JSON Schema on GitHub

JSON Schema

merge-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Item",
  "title": "Item",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "remote_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The third-party API ID of the matching object."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was created by Merge."
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was modified by Merge."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The item's name."
    },
    "status": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Status7d1Enum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The item's status."
    },
    "type": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Type2bbEnum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The item's type."
    },
    "unit_price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The item's unit price."
    },
    "purchase_price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The price at which the item is purchased from a vendor."
    },
    "purchase_account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "References the default account used to record a purchase of the item."
    },
    "sales_account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "References the default account used to record a sale."
    },
    "company": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The company the item belongs to."
    },
    "purchase_tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The default purchase tax rate for this item."
    },
    "sales_tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The default sales tax rate for this item."
    },
    "remote_updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the third party's item note was updated."
    },
    "remote_was_deleted": {
      "type": "boolean",
      "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
    },
    "field_mappings": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/ItemFieldMappings"
        },
        {
          "type": "null"
        }
      ]
    },
    "remote_data": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/RemoteData"
      }
    }
  },
  "description": "# The Item Object\n### Description\nThe `Item` object refers to the goods involved in a transaction.\n\n### Usage Example\nFetch from the `LIST Items` endpoint and view a company's items."
}