docs: fixes following QA testing (#9690)
This commit is contained in:
@@ -333,7 +333,7 @@ curl --location 'localhost:9000/admin/promotions' \
|
||||
|
||||
Make sure to replace `{token}` with an admin user's JWT token. Learn how to retrieve it in the [API reference](!api!/admin#1-bearer-authorization-with-jwt-tokens).
|
||||
|
||||
The request will return the promotion's details. You'll learn how to retrive the `custom_name` property with the promotion's details in the next section.
|
||||
The request will return the promotion's details. You'll learn how to retrieve the `custom_name` property with the promotion's details in the next section.
|
||||
|
||||
---
|
||||
|
||||
@@ -641,7 +641,7 @@ return new WorkflowResponse({
|
||||
})
|
||||
```
|
||||
|
||||
Using the `when-then` utility, you check if the promotion has a linked `Custom` record and `custom_name` is passed in the `additional_data`. If so, you update the linked `Custom` recod.
|
||||
Using the `when-then` utility, you check if the promotion has a linked `Custom` record and `custom_name` is passed in the `additional_data`. If so, you update the linked `Custom` record.
|
||||
|
||||
You return in the workflow response the created, updated, and deleted `Custom` record.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user