You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/adjustments.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ There is designated validator to check if request payload contains required fiel
10
10
If there will be any field added by User.com, you can adjust this validator to check if this field is present in request payload.
11
11
Also, in `BitBag\SyliusUserComPlugin\Assigner\AgreementsAssigner` you can adjust existing logic to assign agreements to customer in a way that suits your needs.
12
12
13
+
The endpoint is exposed in `Swagger` under `UserComAgreements`, making it easy to test and explore directly from the API documentation.
14
+
15
+
>If you use several channels, remember to select one of the available channels using the get method and parameters before using the API:
16
+
`?_channel_code=CHANNEL_CODE`
17
+
13
18
```php
14
19
public function assign(CustomerInterface $customer, array $agreements): void
0 commit comments