Create Biz Partner Product
POST/biz-partners/{partnerId}/biz-partner-products
Creates Biz Partner Product record for given partnerId.
Privileges:
- biz-core.manage
Audit event:
- biz.core.v2.biz.partner.products.post
Errors:
- BIZ_CORE:BIZ_PARTNER_NOT_FOUND - Biz Partner not found
Validation errors:
- BIZ_CORE:RELATION_TYPE_ID_NOT_VALID - Relation type id is not valid.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_PRODUCT_TYPE_NOT_FOUND - Product type of the biz partner product not found.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_PRODUCT_TYPE_CANNOT_BE_ZERO - Product type of the biz partner product cannot be zero.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_PRODUCT_TYPE_MUST_BE_PROVIDED - Product type of the biz partner product must be provided.
- BIZ_CORE:PRODUCT_ID_NOT_VALID - Product id is not valid.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_PRODUCT_NOT_FOUND - Product of the biz partner product not found.
- BIZ_CORE:RELATION_TYPE_ID_NOT_VALID - Relation type id is not valid.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_RELATION_TYPE_NOT_FOUND - Relation type of the biz partner product not found.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_RELATION_TYPE_ID_CANNOT_BE_ZERO - Relation type id of the biz partner product cannot be zero.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_RELATION_TYPE_ID_MUST_BE_PROVIDED - Relation type id of the biz partner product must be provided.
- BIZ_CORE:COMBINATION_OF_BIZ_PARTNER_ID_INSTANCE_ID_PRODUCT_TYPE_PRODUCT_ID_AND_RELATION_TYPE_ID_ALREADY_EXIST - Combination of biz_partner_id, instance_id, product_type, product_id, relation_type_id already exists!
- BIZ_CORE:BIZ_PARTNER_PRODUCT_CUSTOMER_TYPE_NOT_SUPPORTED - Status of the biz partner product not supported.
- BIZ_CORE:ACCOUNT_MANAGER_ID_NOT_VALID - Account manager id is not valid.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_ACCOUNT_MANAGER_ID_NOT_FOUND - Account manager id of the biz partner product not found.
- BIZ_CORE:SERVICE_CATEGORY_ID_NOT_VALID - Service category id is not valid.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_SERVICE_CATEGORY_ID_NOT_FOUND - Service category id of the biz partner product not found.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_SERVICE_CATEGORY_NAME_CANNOT_BE_LONGER_THAN_30_CHARACTERS - Service category name of the biz partner product cannot be longer than 30 characters.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_SELLING_PAYMENT_TYPE_NOT_SUPPORTED - Selling payment type of the biz prod bulk sms not supported.
- BIZ_CORE:BIZ_PARTNER_PRODUCT_NOTES_TOO_LONG - Notes of the biz partner product cannot longer than 65535 characters.
- BIZ_CORE:SELLING_PAYMENT_DUE_NOT_VALID - Selling payment due is not valid.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_SELLING_PAYMENT_DUE_CANNOT_BE_GREATER_THAN_99999 - Selling payment due of the biz prod bulk sms cannot be greather than 99999.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_VALID_FROM_D_MUST_BE_PROVIDED - Valid from date of the biz prod bulk sms must be provided.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_VALID_FROM_D_IS_NOT_VALID - Valid from date of the biz prod bulk sms is not valid.
- BIZ_CORE:BILLING_CYCLE_NOT_VALID - Billing cycle is not valid.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_BILLING_CYCLE_CANNOT_BE_GREATER_THAN_99999 - Billing cycle of the biz prod bulk sms cannot be greather than 99999.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_BILLING_CYCLE_UNIT_NOT_SUPPORTED - Billing cycle unit of the biz prod bulk sms not supported.
- BIZ_CORE:CURRENCY_ID_NOT_VALID - Currency id is not valid.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_CURRENCY_ID_NOT_FOUND - Currency of the biz prod bulk sms not found.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_CURRENCY_ID_MUST_BE_PROVIDED - Currency of the biz prod bulk sms must be provided.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_INVOICE_TRIGGER_AMOUNT_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Invoice trigger amount of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_OVERDRAFT_LIMIT_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Overdraft limit of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_CREDIT_LIMIT_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Credit limit of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_DEPOSIT_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Deposit of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_BANK_GUARANTEE_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Bank guarantee of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_DISPUTE_PERCENT_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_99 - Dispute percent of the biz prod bulk sms whole number cannot be greater than 99.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_MAX_DISPUTE_WHOLE_NUMBER_CANNOT_BE_GREATER_THAN_(10^9)-1 - Max dispute of the biz prod bulk sms whole number cannot be greater than (10^9)-1.
- BIZ_CORE:ANNOUNCEMENT_DAYS_NOT_VALID - Announcement days is not valid.
- BIZ_CORE:BIZ_PRODUCT_BULK_SMS_ANNOUNCEMENT_DAYS_CANNOT_BE_GREATER_THAN_99999 - Announcement days of the biz prod bulk sms cannot be greater than 99999.
Request
Responses
- 200
- default
BizPartnerProduct data created successfully
unexpected error