Update an existing inventory item
Note: The previously existing input and/or output fields <client_item_id>, <client_item_id_out> and/or <filter_client_item_id> were removed from this API call in Release 47.
| API Specification: |
update_inventory_item_m
|
| Required Fields: |
- <client_no>
- <auth_key>
- <item_no> or <existing_client_sku> or <client_item_id> (deprecated)
- <item_type>
- <item_name>
- <item_desc>
- <service_no> or <client_service_id>
- <service> (array)
- <service_no> or <client_service_id>
- <name>
- <client_sku>
- <currency_cd>
- <item_price>
- <image> (array)
- <default_image_url>
- <thumbnail_image_url>
- <default_ind>
- <active>
|
Additional Guidance
Input Fields
| Field Name |
Notes |
| <pricing_rule> |
Allowable Values
| Values |
Description |
| 1 |
Standard |
| 2 |
Volume Discount |
| 3 |
Flat Rate Per Tier |
|
| <edit_directive> |
Allowable Values
| Values |
Description |
| 1 |
Delete data that is not passed in the request |
| 2 |
Insert or update data passed but DO NOT delete |
| 3 |
Delete everything that is passed |
|
| <is_default> |
Allowable Values
| Values |
Description |
| 1 |
Default |
| 0 |
Not default |
|
Error Codes
| Error Code/Description |
Associated Inputs |
32001: <installment_number> cannot be updated to a non-default. Assign another installment term number as the new default installment term.
|
|
32003: <installment_number> cannot be deleted. Assign another installment term number as the new default installment term.
|
|
32005: Assign one installment term as a default using the input parameter is_default.
|
|