Update Inventory Adjustments
PATCH
/api/inventory_adjustments/f6ef049d-642d-4f63-a20f-36c8179d86b3
Use this method to update inventory-adjustments lists. See our HTTP GET documentation for complete queries method.
The following elements are returned in the update inventory-adjustments lists methods response :
Body Request
Element | Description |
---|---|
reason | The reason why changes were made. String 170 characters . |
status | Status transaction, the status must be one of the following types: draft , deleted , submitted , approved , voided , finished . |
Body Response
Element | Description |
---|---|
id | Unique code for identifier inventory-adjustments. String 36 characters . |
status | Status transaction, the status must be one of the following types: draft , deleted , submitted , approved , voided , finished . |
date | Transaction date. Date format YYYY-MM-DD . |
time | Transaction time. Time format hh:mm:ss . |
number | Reference number of inventory-adjustments. String maximum 35 characters . |
description | Description of inventory-adjustments. String maximum 75 characters . |
Department* | Department of inventory-adjustments. |
Department.id | Unique code for identifier Department. String 36 characters . |
Department.code | Department code String maximum 255 characters . |
Department.name | Department name String maximum 255 characters . |
project* | Project of inventory-adjustments. |
project.id | Unique code for identifier project. String 36 characters . |
project.code | Project code String maximum 255 characters . |
project.name | Project name String maximum 255 characters . |
warehouse* | Element for warehouse. |
warehouse.id | Unique code for identifier department. String 36 characters . |
warehouse.code | Warehouse code String maximum 255 characters . |
warehouse.name | Warehouse name String maximum 255 characters . |
document* | Document of inventory-adjustments. |
document.date | Document date. Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
document.number | Document number String. |
other_fields | other_fields |
other_fields.id | Unique code for identifier other_fields. String 36 characters . |
other_fields.key | key words of other_fields. String 36 characters . |
other_fields.type | other_fields type. String 36 characters . |
other_fields.value | other_fields value. String 36 characters . |
attachments* | Element for attachments. |
attachments.id | Unique code for identifier attachments. String 36 characters . |
attachments.name | Attachments name String. |
attachments.extension | Attachments extension JPG, PNG, PDF String. |
attachments.url | Attachments url String. |
line_items* | line_items of inventory-adjustments. |
line_items.id | Unique code for identifier line_items. String 36 characters . |
line_items.product.id | Unique code for identifier product. String 36 characters . |
line_items.product.code | Product code String maximum 255 characters . |
line_items.product.name | Product name String maximum 255 characters . |
line_items.unit* | Element for line_items unit. |
line_items.unit.id | Unique code for identifier unit. String 36 characters . |
line_items.unit.code | Unit code String maximum 255 characters . |
line_items.unit.name | Unit name String maximum 255 characters . |
line_items.account* | line_items account data . |
line_items.account.id | Unique code for identifier account. String 36 characters . |
line_items.account.code | Account code String maximum 255 characters . |
line_items.account.name | Account name String maximum 255 characters . |
line_items.account.alias_name | Account alias name String maximum 255 characters . |
line_items.departement* | Departement data . |
line_items.departement.id | Unique code for identifier department. String 36 characters . |
line_items.departement.code | Departement code String maximum 255 characters . |
line_items.departement.name | Departement name String maximum 255 characters . |
line_items.project* | Project of sales invoices. |
line_items.project.id | Unique code for identifier project. String 36 characters . |
line_items.project.code | Project code String maximum 255 characters . |
line_items.project.name | Project name String maximum 255 characters . |
line_items.warehouse* | Element for warehouse. |
line_items.warehouse.id | Unique code for identifier department. String 36 characters . |
line_items.warehouse.code | Warehouse code String maximum 255 characters . |
line_items.warehouse.name | Warehouse name String maximum 255 characters . |
line_items.note | line_items note. String 255 characters . |
line_items.quantity | line_items quantity Number. |
line_items.unit_cost | line_items unit_cost Number. |
total_quantity | total quantity Number. |
total_amount_origin | total amount Number. |
created* | Element for Created. |
created.user* | Created User. |
created.user.id | User id String Automaticaly. |
created.user.name | User name String. |
created.user.email | User email String. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
update* | Element for Update. |
update.user* | Update user. |
update.user.id | User id String Automaticaly. |
update.user.name | User name String. |
update.user.email | User email String. |
update.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |