mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Remove additional post after rebase
This commit is contained in:
parent
96284ee77e
commit
f29d5af98e
1 changed files with 0 additions and 135 deletions
|
|
@ -256,141 +256,6 @@ Example configuration for `order_fixed_discount` action type:
|
|||
</normalizationContext>
|
||||
</operation>
|
||||
|
||||
<operation
|
||||
class="ApiPlatform\Metadata\Post"
|
||||
uriTemplate="/admin/promotions"
|
||||
>
|
||||
<validationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius</value>
|
||||
<value>sylius_api</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</validationContext>
|
||||
|
||||
<denormalizationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius:admin:promotion:create</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</denormalizationContext>
|
||||
|
||||
<normalizationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius:admin:promotion:show</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</normalizationContext>
|
||||
|
||||
<openapiContext>
|
||||
<values>
|
||||
<value name="description">
|
||||
Example configuration for `total_of_items_from_taxon` rule type:
|
||||
|
||||
```
|
||||
{
|
||||
"type": "total_of_items_from_taxon",
|
||||
"configuration": {
|
||||
"channel-code": {
|
||||
"taxon": "taxon-code",
|
||||
"amount": int
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Example configuration for `order_fixed_discount` action type:
|
||||
|
||||
```
|
||||
{
|
||||
"type": "order_fixed_discount",
|
||||
"configuration": {
|
||||
"channel-code": {
|
||||
"amount": int,
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
</value>
|
||||
</values>
|
||||
</openapiContext>
|
||||
</operation>
|
||||
|
||||
<operation class="ApiPlatform\Metadata\Put" uriTemplate="/admin/promotions/{code}">
|
||||
<validationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius</value>
|
||||
<value>sylius_api</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</validationContext>
|
||||
|
||||
<denormalizationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius:admin:promotion:update</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</denormalizationContext>
|
||||
|
||||
<normalizationContext>
|
||||
<values>
|
||||
<value name="groups">
|
||||
<values>
|
||||
<value>sylius:admin:promotion:show</value>
|
||||
</values>
|
||||
</value>
|
||||
</values>
|
||||
</normalizationContext>
|
||||
|
||||
<openapiContext>
|
||||
<values>
|
||||
<value name="description">
|
||||
Example configuration for `total_of_items_from_taxon` rule type:
|
||||
|
||||
```
|
||||
{
|
||||
"type": "total_of_items_from_taxon",
|
||||
"configuration": {
|
||||
"channel-code": {
|
||||
"taxon": "taxon-code",
|
||||
"amount": int
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Example configuration for `order_fixed_discount` action type:
|
||||
|
||||
```
|
||||
{
|
||||
"type": "order_fixed_discount",
|
||||
"configuration": {
|
||||
"channel-code": {
|
||||
"amount": int
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
</value>
|
||||
</values>
|
||||
</openapiContext>
|
||||
</operation>
|
||||
|
||||
<operation
|
||||
class="ApiPlatform\Metadata\Delete"
|
||||
uriTemplate="/admin/promotions/{code}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue