put https://api.zenoti.com//v2/products/product_center_associations
This API enables bulk association of multiple products to centers in a single request, streamlining product-center mapping at scale.
| JSON Property | Data Type | Description |
|---|
| product_center_associations | List<ProductCenterAssociation> | List of product and its center associations |
| JSON Property | Data Type | Description |
|---|
| zone_name | string | This is the ZoneName of the product or center |
| zone_id | string | This is the zone id of product or center |
| product_code | string | This is the product code of the product |
| product_id | string | This is the product id of the product |
| id | Guid? | This is the product center association GUID |
| center_code | string | This is the center code of the center in which the product is to be associated |
| center_id | string | This is the center id of the center in which the product is to be associated |
| is_tax_included | bool | Flag to check if tax is included in the product |
| tax_group_code | string | Tax group code of the tax the product is associated with |
| tax_group_id | string | Tax group id of the tax the product is associated with |
| sale_price | double | Sale price of the product in center |
| consumable_order_quantity | int | Consumable order quantity of the product |
| consumable_desired_quantity | int | Consumable desired quantity of the product |
| consumable_alert_quantity | int | Consumable alert quantity of the product |
| retail_order_quantity | int | Retail order quantity of the product |
| retail_desired_quantity | int | Retail desired quantity of the product |
| retail_alert_quantity | int | Retail alert quantity of the product |
| transfer_price | double | Transfer price of the product |
| transfer_tax_group_code | string | Transfer tax group code that the product is associated with |
| transfer_tax_group_id | string | Transfer tax group id that the product is associated with |
| is_active | bool | Flag that stores if the association is active or not |
| record_number | int | Unique identification number for each record |
| JSON Property | Data Type | Description |
|---|
| run_id | Guid | Run Id of the operation |
| record_details | DataIoRecordDetails | Object that gives information about number of records |
| errors | List<APIV2ErrorModelDataIo> | Error list while processing the product |
| JSON Property | Data Type | Description |
|---|
| total_records | int | Total rows that the request received |
| valid_records | int | Count of records that were valid |
| processed_records | int | Count of records that were processed |
| JSON Property | Data Type | Description |
|---|
| code | string | The error code for reference in resources |
| message | string | The error message |
| field_value | string | This is the field value that has the error |
| field_name | string | This is the field name that has the error |
| record_number | int? | This is the record number that caused the error |
| error_type | ErrorType | Type of the error (error/warning/info) |
| Name | Value | Description |
|---|
| error | 0 | Indicates an error |
| warning | 1 | Indicates a warning |
| info | 2 | Indicates information |