Skip to main content

Inventory Item Cost

The Inventory Item Cost API allows the user to access inventory item cost history.

Security

jwt-bearer-token

apiKey

API Key

Name

Authorization

In

header

Endpoints

GET /inventory-item-cost/schema

Summary

Get the inventory item cost history schema.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

Responses

Code

Description

Schema

200

Success

inventory_item_cost_get_response_1

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

PATCH /inventory-item-cost/calculate

Summary

Update the inventory item cost history.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

Responses

Code

Description

Schema

204

Success

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

Data Model

inventory_item_cost_get_response_1

Field Name

Type

Description

inventory_item_cost_get_response_1

object

The inventory item cost history schema definition