curl --request POST \
--url https://api.bonifiq.com.br/v1/pvt/Product/points \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
[
{
"Id": "<string>",
"Price": 10.5,
"PriceCurrency": "<string>",
"Name": "<string>"
}
]
'{
"HasError": true,
"ErrorMessages": [
"<string>"
],
"ErrorMessage": "<string>",
"ErrorDescriptions": [
{
"Description": 0,
"Field": "<string>",
"FieldText": "<string>"
}
],
"Result": [
{
"Id": "<string>",
"Points": 123,
"Cashback": 123
}
]
}curl --request POST \
--url https://api.bonifiq.com.br/v1/pvt/Product/points \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
[
{
"Id": "<string>",
"Price": 10.5,
"PriceCurrency": "<string>",
"Name": "<string>"
}
]
'{
"HasError": true,
"ErrorMessages": [
"<string>"
],
"ErrorMessage": "<string>",
"ErrorDescriptions": [
{
"Description": 0,
"Field": "<string>",
"FieldText": "<string>"
}
],
"Result": [
{
"Id": "<string>",
"Points": 123,
"Cashback": 123
}
]
}Use API Basic Auth Keys
Products
Show child attributes
0 = Campaign_InvalidDateRange 1 = Campaign_Conflict 2 = Reward_PointsShouldBePositive 3 = Reward_ValueShouldBePositive 4 = Reward_ValueShouldBe100PercentMax 5 = Reward_ValueShouldBe999ValueMax 6 = Reward_PointsShouldBe9999ValueMax 7 = General_FieldCannotBeNullOrBlank 8 = General_FieldCannotBeDefault 9 = General_BiggerThanZero 10 = Genaral_LengthLimitExceeded 11 = Order_OrderCompletedNeddCompletedDate 12 = Order_OrderCompletedDateMustBeAfterPlacementDate 13 = Order_CompletedOrderCannotBeCancelled 14 = Order_CancelledOrderRequiresCancellationDate 15 = Order_OrderCancellationDateBeforePlacementDate 16 = Points_PointsCannotBeZero 17 = FileUpload_NoFileReceived 18 = FileUpload_MoreThanOneFileReceived 19 = Objective_AmountOfPointsCannotBeLessThanOne 20 = Objective_DiscountValueCannotBeLessThanOne 21 = Objective_OrderMinimumValueCannotBeLessThanZero 22 = Objective_DaysToWaitToGrantPointsCannotBeLessThanZero 23 = Objective_CanceledStatusListMustHaveAValue 24 = Objective_CompletedStatusListMustHaveAValue 25 = FileUpload_InvalidFormat 26 = Objective_SignupStartDateMustHaveAValidValue 27 = FileUpload_FileTooLarge 28 = FileUpload_InvalidDimensions 29 = Account_UserAlreadyExists 30 = DaysToWaitToGrantPointsInvalidValue 31 = OrderMinimumValueInvalidValue 32 = ChangeActiveUser_UniqueAdmin 33 = ApiOrder_OrderIsCancelled 34 = PublicApiProductService_ObjectiveDisabled 35 = PublicApiProductService_ErrorCalculatingPoints 36 = ApiExternalOrder_Cant_Insert_Update 37 = ApiExternalOrder_Order_Not_Found 38 = ApiExternalProduct_Cant_Insert_Update 39 = ApiExternalErro_Original_Id_Cant_Be_Null 40 = ApiExternalCustomer_Cant_Insert 41 = ApiExternalCustomer_Cant_Update 42 = ApiTrustvoxKeysValidation 43 = ApiExternalRewardConfiguration_Error 44 = ApiExternalRewardConfiguration_Get_Error 45 = ApiExternal_Error_Page_Size 46 = ApiExternalRewardRedeem_Error_Customer_not_Found 47 = ApiExternalRewardRedeem_Error_Unable_to_Reedem 48 = ApiExternalObjective_not_found 49 = ApiExternalObjective_inactive 50 = ApiExternalCustomer_document_email_empty 51 = ApiExternalCustomer_documen_AlphaNumeric_only 52 = ApiExternalAffiliate_coupon_empty 53 = ApiExternalCustomObjective_max_bonification_reached 54 = ApiExternalObjective_type_incorrect 55 = ApiExternalCoupon_Customer_Not_Found 56 = ApiExternalCoupon_Cant_Update_Coupon 57 = ApiExternalCoupon_Not_found 58 = Referral_FriendAlreadyExists 59 = Customer_NotFound 60 = Tier_NotFound 61 = TierBenefit_Reward_Required 62 = ChangePoints_CannotAddPointsWithWrongOperationType 63 = ChangePoints_CannotRemovePointsWithWrongOperationType 64 = ChangePoints_CannotBeZeroPoints 65 = ChangePoints_ChangeKeyCannotBeNull 66 = ChangePoints_ChangeKeyAlreadyExists 67 = ChangePoints_ReasonCannotBeNullOrBlank 68 = ApiCustomer_InsertAlreadyExists 69 = ApiCustomer_ChangeCashback_Inactive 70 = ApiCustomer_RedeemCashback_Error 71 = ImportCoupons_AllCouponsAlreadyExists 72 = ApiCustomer_CannotChangeBirthday 73 = ApiRewardCancel_NotFound 74 = ApiRewardCancel_AlreadyCanceled 75 = ApiRewardCancel_InternalError 76 = ApiKonfidencyKeysValidation 77 = GenericError 78 = Account_UserWithoutLastName 79 = ApiDomain_NotFound 80 = ApiTenant_NotFound 81 = PdvUser_InvalidCredentials 82 = ApiReward_NoActiveRewards 83 = PdvReward_CustomerMismatch 84 = PdvReward_CoupomNotFound 85 = PdvReward_CoupomAlreadyUsed 86 = PdvReward_CoupomAlreadyRefunded 87 = PdvReward_RewardNotFound 88 = PdvReward_PurchaseValueInvalid 89 = PdvReward_CashbackValueInvalid 90 = PdvUser_NotFound 91 = PdvUser_NotInserted 92 = PdvOrder_WrongAmountOfPoints 93 = PdvOrder_ExcededMaxValue 94 = PdvOrder_NotEnoughPoints 95 = PdvOrder_OrderIdAlreadyExists 96 = PdvOrder_CreationError 97 = PdvOrder_CancellationError 98 = PdvOrder_NotFound 99 = PdvOrder_CustomerMismatch 100 = PdvOrder_OriginalIdUpdateError 101 = PdvBranch_NotInserted 102 = PdvBranch_OriginalIdAlreadyExists 103 = Too_Many_Requests 104 = PdvCustomer_AlreadyCompleted 105 = Quiz_QuizNotFound 106 = Quiz_MinimumAmountOfOptions 107 = Quiz_MaximumAmountOfOptions 108 = Quiz_MaximumAmountOfQuestions 109 = BillingGroupParticipants_ParticipantTenantIdIsActive 110 = BillingGroup_BillingGroupTenantIdIsActive 111 = BillingGroup_DuplicateTenantId 112 = AffiliateCouponGenericError 113 = AffiliateCouponNoExistsInPlatform 114 = AffiliateSettingsNotExist 115 = EndDate_ManageAdditionalBonuses 116 = AdditionalBonuses_ManageAdditionalBonuses 117 = Reinstall_The_App 118 = NewCustomer_EmailAlreadyUsed 119 = NewCustomer_DocumentAlreadyUsed 120 = WebhookSubscription_TopicRequired
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120 Was this page helpful?