Schema: B2B_Sale_Item

Schema Definition

{
    "$schema": "http://json-schema.org/schema#",
    "description": "Line item of a B2B Transaction",
    "properties": {
        "id": {
            "type": "string"
        },
        "inventory": {
            "description": "Inventory as String ID or Object",
            "type": "object"
        },
        "product": {
            "$ref": "#/components/schemas/Product"
        },
        "type": {
            "description": "The Type of transfer such as SAMPLE or FOR_PROCESSING; values are determined by the CRE provider",
            "type": "string"
        },
        "unit_count": {
            "description": "Quantity of Items Being Transferred",
            "format": "double",
            "type": "number"
        },
        "unit_price": {
            "description": "The All-In price of the line item, inclusive of all taxes, fees and other charges",
            "format": "double",
            "type": "number"
        },
        "variety": {
            "$ref": "#/components/schemas/Variety"
        }
    },
    "type": "object"
}

Schema Samples