mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Unit] Adjust archive and restore promotion responses
This commit is contained in:
parent
30b62ca104
commit
1846011931
2 changed files with 4 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/Promotion",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/50_off",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/50_off/archive",
|
||||
"@type": "Promotion",
|
||||
"channels": [
|
||||
"\/api\/v2\/admin\/channels\/MOBILE"
|
||||
|
|
@ -23,9 +23,8 @@
|
|||
"updatedAt": "@date@",
|
||||
"translations": {
|
||||
"en_US": {
|
||||
"@id": "\/api\/v2\/admin\/promotion-translations\/@integer@",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/50_off\/translations\/en_US",
|
||||
"@type": "PromotionTranslation",
|
||||
"id": "@integer@",
|
||||
"label": "-50% on first order!"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/Promotion",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/back_to_school",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/back_to_school\/restore",
|
||||
"@type": "Promotion",
|
||||
"channels": [
|
||||
"\/api\/v2\/admin\/channels\/WEB",
|
||||
|
|
@ -22,9 +22,8 @@
|
|||
"updatedAt": "@date@",
|
||||
"translations": {
|
||||
"en_US": {
|
||||
"@id": "\/api\/v2\/admin\/promotion-translations\/@integer@",
|
||||
"@id": "\/api\/v2\/admin\/promotions\/back_to_school\/translations\/en_US",
|
||||
"@type": "PromotionTranslation",
|
||||
"id": "@integer@",
|
||||
"label": "Back to school sale!"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue