-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing customer attributes to sylius_shop_api_me
- Added `birthday`, `gender`, `phoneNumber` and `subscribedToNewsletter` to sylius_shop_api_me response - Updated LoggedInCustomerDetails on doc/swagger.yml, to include the new attributes - Updated tests
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
tests/Responses/Expected/customer/logged_in_customer_details_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{ | ||
"firstName": "Oliver", | ||
"lastName": "Queen", | ||
"email": "oliver@queen.com" | ||
"email": "oliver@queen.com", | ||
"gender": "m", | ||
"phoneNumber": "0212115512", | ||
"subscribedToNewsletter": false | ||
} |