cancel
Showing results for 
Search instead for 
Did you mean: 

Create BOGO in CCO manager using API

Fedias
Participant
0 Kudos
228

Hi team,

I am trying to create a Buy One Get One free in CCO manager using the API. The bellow JSON creates the article correctly, set Price 12 but doesn;t recognise the Discount group.

In master data processing results, I am getting the error: The discount amount (absolute or percentage) is not defined
What do I am missing?

{

"errorStrategy": "CONTINUE_ON_FAIL", "referenceUpdateStrategy": "DELTA", "materials": [ { "id": "AB10001", "type": "STANDARD", "barCodes": [
],
"description": "Test Item 123", "prices": [ { "priceListId": "1", "price": 12, "typeCode": "PR", "active": true, "measureUnitCode": "EA" }, { "typeCode": "DI", "active": true, "validFrom": "2023-05-26", "validTo": "2023-09-14", "measureUnitCode": "EA", "quantityForFree": 1, "quantityForFreeUpTo": 10, "quantity": 2 } ], "discountable": true, "unitOfMeasure": "EA", "articleGroup": "104", "status": "ACTIVE" }
]}

Accepted Solutions (0)

Answers (0)