The create_inventory_item_m API creates an inventory item for specified client.
|
API Specification:
|
create_inventory_item_m
|
|
Required Fields:
|
- <client_no>
- <auth_key>
- <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>
|
| Sample Call and Response: | create_inventory_item_m Sample Call and Response |
Additional Guidance
Input Fields
| Field Name |
Notes |
| <pricing_rule> |
Allowable values
| Values |
Description |
| 1 |
Standard |
| 2 |
Volume Discount |
| 3 |
Flat Rate Per Tier |
|
| <is_default> |
Allowable values
| Values |
Description |
| 1 |
Default |
| 0 |
Not default |
|
| <item_type> |
Allowable values
| Values |
Description |
| 0 |
Inventory Item |
| 1 |
Months To Stack (Deprecated) |
| 2 |
Resource Item |
| 3 |
Fee |
|
| <fee_application_type> |
Allowable values
| Values |
Description |
| 1 |
Applied to payment plan |
If item_type = 3, defaults to 1. |
| <fee_type> |
Allowable values
| Values |
Description |
| P |
percentage-based |
| F |
Flat |
| A |
Amortized (declining balance) interest |
Mandatory when item_type = 3. |
Error Codes
| Error Code/Description |
Associated Inputs |
32005: Assign one installment term as a default using the input parameter is_default.
|
|