I don’t know how to make it more logical.
in you docs you request the following:
name string A general name for the promotion.
description string A general description for the promotion.
type string The type should be promotion.
promotion_type string The type of schema being used for the promotion. (fixed_discount or percent_discount)
enabled string True or False
start string The date at which the promotion starts.
end string The date at which the promotion ends.
amount string The amount off to be used for the promotion.
currencies string The Currency code to be used for the discount.
schema object The schema to be used for the promotion
BUT now the Schema option I want to use is the percent_discount. So that means I must replace the above mentioned schema object with this:
currencies array An array of objects
currencies.currency string A currency code
currencies.percentage float The percentage to discount by
IF my assumptions are correct and I replace the schema object with the schema option above. It asks currency and amount twice.
The problem lies with the schema object, is it just a open object, or do I replace it with the schema option I displayed above.
I hope you understand because I am not to sure how I will explain it better.