curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/events/events-v1/exhibitorAddOnProducts/{tenantId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"abbreviated_name": "string",
"allow_customer_to_choose_installment_plan": true,
"bulk_pricing_rules": [
{
"discount_amount": 0.1,
"discount_type": "flat rate",
"ending_range": 0,
"starting_range": 0
}
],
"bundled_products": [
{
"member_price": 0.1,
"price": 0.1,
"product_id": "string",
"product_type": "string",
"quantity": 0,
"type": "bundled product"
}
],
"bundled_products_inventory_handling": "bundle",
"business_unit_id": "string",
"cancellation_fee": 0.1,
"commerce_entitlements_to_create": [
{
"expiration_date": null,
"expiration_type": "none",
"quantity": 0.1,
"relative_expiration_date": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"type_id": "string"
}
],
"coupon_codes": [
{
"coupon_code_generation_process_id": "string",
"coupon_code_type": "multi use",
"coupon_id": "string",
"coupon_type": "string",
"expiration_date": null,
"expiration_type": "none",
"maximum_number_of_total_uses": 1,
"maximum_number_of_uses_per_customer": 1,
"quantity": 250,
"relative_expiration_date": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"restrict_to_contact": true,
"restrict_to_organization": true
}
],
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"custom_pricing_options": {
"lambda_function_id": "string"
},
"description": "string",
"display_order": 0.1,
"document_entitlements_to_create": [
{
"expiration_date": null,
"expiration_type": "none",
"file_cabinet_id": "string",
"item_id": "string",
"library_path": "string",
"relative_expiration_date": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
}
}
],
"enable_bulk_pricing": true,
"enable_bundled_products": true,
"enable_cancellation_fees": true,
"enable_commerce_entitlement_creation": true,
"enable_coupon_code_generation": true,
"enable_custom_pricing": true,
"enable_document_entitlement_creation": true,
"enable_product_confirmation_email": true,
"enable_purchase_limits": true,
"enable_purchasing_eligibility": true,
"enable_special_prices": true,
"enable_task_generation": true,
"event_id": "string",
"foreign_currency_prices": [
{
"cancellation_fee": 0.1,
"currency_code": "AED",
"member_price": 0.1,
"mode": "calculate price",
"price": null,
"restocking_fee": 0.1
}
],
"hide_from_portal": true,
"id": "string",
"installment_plan_options": [
{
"additional_cost": 0.1,
"installment_plan_id": "string",
"is_default": true
}
],
"is_active": true,
"member_price": 0.1,
"name": "string",
"notes": "string",
"portal_options": {
"available_from": "2019-08-24T14:15:22Z",
"available_until": "2019-08-24T14:15:22Z"
},
"price": 0.1,
"priority_point_restrictions": {
"range_end": 0.1,
"range_start": 0.1
},
"product_confirmation_email_options": {
"product_confirmation_email_id": null,
"product_specific_email": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"type": "product specific"
},
"publish_to_portal": true,
"purchase_limits": {
"error_message": "string",
"maximum": 0.1,
"relative_time_window": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"time_period": "all time",
"type": "per customer"
},
"purchasing_eligibility_criteria": {},
"restrict_by_priority_points": true,
"restrict_by_square_footage": true,
"special_prices": [
{
"criteria": {},
"enable_formula": true,
"formula": null,
"name": "string",
"price": 0.1
}
],
"square_footage_restrictions": {
"range_end": 0.1,
"range_start": 0.1
},
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1,
"tasks_to_generate": [
{
"assignee_type": "assignment role",
"assignment_role_id": null,
"description": "string",
"due_date_type": "none",
"name": "string",
"notify_assignees": true,
"priority": "high",
"queue_id": null,
"relative_due_date": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"specific_due_date": null,
"type_id": "string",
"user_id": null
}
],
"type": "events-exhibitor-add-on-products"
}'