Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDU-14497: Update create-a-regular-order-from-an-existing-cart.md #1739

Merged
merged 4 commits into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ To create an order via a specific shopping cart, you need to use the [Place orde
Additionally, you need to send the request body containing the following information:

- `referenceId`: ID of the orderForm corresponding to the cart in which the order will be created (`orderFormId`).
- `savePersonalData`: this parameter should be set as "true" if the shopper’s data provided during checkout should be saved for future reference. Default value is "false".
- `optinNewsLetter`: this parameter should be set as "true" if the shopper opted to receive the newsletter. Default value is "false".
- `value`: total value of the order without separating cents. For example, $24.99 is represented by `2499`.
- `referenceValue`: reference value of the order for calculating interest (if applicable). It can be equal to the total value and does not separate cents. For example, $24.99 is represented by `2499`.
- `interestValue`: interest rate to be used in case it applies.
- `savePersonalData`: This parameter should be set as `true` if the shopper’s data provided during checkout should be saved for future reference. The default value is `true`.
- `optinNewsLetter`: This parameter should be set as "true" if the shopper opted to receive the newsletter. Default value is `false`.
- `value`: Total value of the order without separating cents. For example, $24.99 is represented by `2499`.
- `referenceValue`: Reference value of the order for calculating interest (if applicable). It can be equal to the total value and does not separate cents. For example, $24.99 is represented by `2499`.
- `interestValue`: Interest rate to be used in case it applies.

See a request body example below:

Expand All @@ -45,7 +45,7 @@ See a request body example below:
}
```

After sending the request, the endpoint will return the response body containing all information of a regular order. The example below shows only some of the data returned in this request.
After sending the request, the endpoint will return the response body containing all information of a regular order. The example below shows only some of the data returned in this request:

```json
{
Expand Down
Loading