Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057930
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Retail APIminoralways2025-02-10 16:402025-03-07 13:47
ReporterXABIER_AGUADOView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057930: Coupon API Improvements

DescriptionCurrent Swagger information for the Coupon API is lacking in some fields. Their descriptions / informations must be updated so the clients can easily work with the API.
Steps To ReproduceCheck the livebuilds discount API and update the missing fields as seen on the PDF.

Export:
/org.openbravo.api.ExportService/Coupon

Import:
/org.openbravo.api.ImportService/Coupon
Proposed SolutionUpdate expected values + provide examples + update descriptions for all required fields:

Name: couponCode
Description: The code of the coupon


Name:couponAmount
Description:Amount of the Coupon


Name: businessPartner
Description: Business PartnerĀ“s search key


Name: crmReference
Description: The business partner reference on an external CRM system


Name: numberOfUses
Description: Defines the allowed number of uses for the coupon


Name: status
Description: Status of the coupon
U = Used
NU = Not used


Name: numberOfUsesLimit
Description: Defines the maximum amount of times a coupon can be used


Name: usageStatus
Description: Status of a breakable coupon
new = New
inUse = In Use
closed = Closed


Name: salesOrder
Description: The sales order where the coupon has been used


Name: remainingBalance
Description: Remaining balance of the coupon amount

TagsFASH
Attached Filespdf file icon Business API - masterdata - Coupon.pdf [^] (38,719 bytes) 2025-02-10 16:40

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2025-02-10 16:40 XABIER_AGUADO New Issue
2025-02-10 16:40 XABIER_AGUADO Assigned To => Retail
2025-02-10 16:40 XABIER_AGUADO File Added: Business API - masterdata - Coupon.pdf
2025-02-10 16:40 XABIER_AGUADO Triggers an Emergency Pack => No
2025-02-10 16:42 XABIER_AGUADO Type defect => feature request
2025-02-10 16:51 XABIER_AGUADO Tag Attached: FASH
2025-02-11 12:43 XABIER_AGUADO Proposed Solution updated
2025-03-07 13:47 XABIER_AGUADO Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker