Creates a product or a bundle in the item catalog.
Required:
TypeId (1 Product or 2 Bundle) and Name.
Product only:Sku, PartNumber, Manufacturer, UnitCost.
Bundle only:SubItems (required for a bundle, at least one),
ShowSubItemsOnInvoice, ShowSubItemDescriptionsOnInvoice. A bundle’s
UnitCost is calculated from its sub-items and can’t be sent directly.
Optional for either type:Number, Description, CategoryId,
SubcategoryId, ClientId, LocationId, Vendor, UnitPrice,
TaxId, ExternalProductId.
Sending a Product-only field on a Bundle, or a Bundle-only field on a Product, is a 400.
A SubItems entry can’t itself be a bundle — bundles can’t nest.
Autoritzacions
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
Cos
The item to create.
Creates a product or a bundle in the catalog. TypeId decides which, and which of the
type-conditional fields below are accepted.
Whether this is a product (1) or a bundle (2). Required; cannot be changed once created.
1
Display name of the item. Required.
"Managed Workstation - Standard"
The item's product number, free text.
Free-text description.
Category to file the item under, from GET /v1/items/categories. Validated for existence and tenant ownership.
Subcategory to file the item under; must belong to CategoryId.
Client this item is scoped to, when it is client-specific rather than catalog-wide.
Client location this item is scoped to; must belong to ClientId.
Product-only. Rejected (400) if sent while TypeId is Bundle.
Product-only. Rejected (400) if sent while TypeId is Bundle.
Product-only. Rejected (400) if sent while TypeId is Bundle.
Vendor the item is sourced from.
Product-only. Rejected (400) if sent while TypeId is Bundle — a bundle's cost is derived server-side from its sub-items, never supplied directly.
42.5
Unit price charged to the client. May be negative, for a discount or credit line.
89
Tax rate to apply, from GET /v1/taxes.
Identifier of this item in an external accounting system.
Bundle-only, required for a bundle (at least one entry) — rejected (400) if sent while TypeId is Product. Every ItemId must resolve to an existing, active product (not a bundle — bundles cannot nest) owned by this service provider.
Bundle-only. Rejected (400) if sent while TypeId is Product.
Bundle-only. Rejected (400) if sent while TypeId is Product.
Resposta
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 Result of a create-item request. Matches the minimal shape returned by create-ticket, create-time-entry and create-invoice, rather than returning the full item.
null