Update Biz Partner Product

PUT/biz-partners/{partnerId}/biz-partner-products/{bizProductId}

Updates Biz Partner Product record for given partnerId and bizProductId.

Privileges:

  • biz-core.manage

Audit event:

  • biz.core.v2.biz.partner.products.put

Errors:

  • BIZ_CORE:BIZ_PARTNER_PRODUCT_NOT_FOUND - Biz Partner Product not found

Validation errors:

  • 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:PRODUCT_TYPE_ID_NOT_VALID - Product 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: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_NOTES_TOO_LONG - Notes of the biz partner product cannot longer than 65535 characters.
  • BIZ_CORE:BIZ_PARTNER_PRODUCT_STATUS_CANNOT_BE_EMPTY - Status of the biz partner product cannot be empty.
  • BIZ_CORE:BIZ_PARTNER_PRODUCT_STATUS_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: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_CANNOT_BE_ZERO - Currency of the biz prod bulk sms cannot be zero.
  • 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.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

partnerIdintegerrequired

Partner ID.

bizProductIdintegerrequired

Biz Partner Product ID.

Body

application/json
accountManagerIdinteger
customerTypestring
Possible values: enterprise, wholesale, inter-company
notesstring
productBulkSmsobject
Show child attributes
announcementDaysinteger
bankGuaranteenumber (float64)
billingCycleinteger
billingCycleUnitstring
Possible values: Days, Months, Years, Weeks, Quarters, Semesters
creditLimitnumber (float64)
currencyIdinteger
depositnumber (float64)
disputePercentnumber (float64)
invoiceTriggerAmountnumber (float64)
maxDisputenumber (float64)
overdraftLimitnumber (float64)
sellingPaymentDueinteger
sellingPaymentTypestring
Possible values: prepaid, postpaid, none
validFromDstring (date)
productIdinteger
productTypeinteger
relationTypeIdinteger
statusstring

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{partnerId}/biz-partner-products/{bizProductId}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "accountManagerId": 0,
  "customerType": "enterprise",
  "notes": "string",
  "productBulkSms": {
    "announcementDays": 0,
    "bankGuarantee": 0,
    "billingCycle": 0,
    "billingCycleUnit": "Days",
    "creditLimit": 0,
    "currencyId": 0,
    "deposit": 0,
    "disputePercent": 0,
    "invoiceTriggerAmount": 0,
    "maxDispute": 0,
    "overdraftLimit": 0,
    "sellingPaymentDue": 0,
    "sellingPaymentType": "prepaid",
    "validFromD": "2026-01-01"
  },
  "productId": 0,
  "productType": 0,
  "relationTypeId": 0,
  "status": "string"
}'

Responses

BizPartnerProduct data updated successfully

application/json
accountManagerIdinteger
accountManagerNamestring
bizPartnerBriefNamestring
bizPartnerIdinteger
customerTypestring
disabledDtstring (date-time)
enabledDtstring (date-time)
idinteger
notesstring
productBulkSmsobject
Show child attributes
announcementDaysinteger
bankGuaranteenumber (float64)
billingCycleinteger
billingCycleUnitstring
bizpProductIdinteger
creditLimitnumber (float64)
currencyCodestring
currencyIdinteger
currencyNamestring
depositnumber (float64)
disputePercentnumber (float64)
idinteger
invoiceTriggerAmountnumber (float64)
maxDisputenumber (float64)
overdraftLimitnumber (float64)
sellingPaymentDueinteger
sellingPaymentTypestring
validFromDstring (date)
productCodeNamestring
productIdinteger
productNamestring
productTypeCodeNamestring
productTypeNamestring
relationTypeCodeNamestring
relationTypeIdinteger
relationTypeNamestring
serviceCategoryIdinteger
serviceProductNamestring
statusstring
statusDtstring (date-time)
Example response
{
  "accountManagerId": 0,
  "accountManagerName": "string",
  "bizPartnerBriefName": "string",
  "bizPartnerId": 0,
  "customerType": "string",
  "disabledDt": "2026-01-01T12:00:00Z",
  "enabledDt": "2026-01-01T12:00:00Z",
  "id": 0,
  "notes": "string",
  "productBulkSms": {
    "announcementDays": 0,
    "bankGuarantee": 0,
    "billingCycle": 0,
    "billingCycleUnit": "string",
    "bizpProductId": 0,
    "creditLimit": 0,
    "currencyCode": "string",
    "currencyId": 0,
    "currencyName": "string",
    "deposit": 0,
    "disputePercent": 0,
    "id": 0,
    "invoiceTriggerAmount": 0,
    "maxDispute": 0,
    "overdraftLimit": 0,
    "sellingPaymentDue": 0,
    "sellingPaymentType": "string",
    "validFromD": "2026-01-01"
  },
  "productCodeName": "string",
  "productId": 0,
  "productName": "string",
  "productTypeCodeName": "string",
  "productTypeName": "string",
  "relationTypeCodeName": "string",
  "relationTypeId": 0,
  "relationTypeName": "string",
  "serviceCategoryId": 0,
  "serviceProductName": "string",
  "status": "string",
  "statusDt": "2026-01-01T12:00:00Z"
}