Get cross-/up-sell products for order

Get cross-/up-sell products for order

Request

UAT URL

POST https://api-uat.staging.nexway.build/connect/order/crossupsell

Production URL

POST https://api.nexway.store/connect/order/crossupsell

Request headers

Parameter name Value Description Additional
secret string

Access secret

Required

Request body

The request body takes a complete GetCrossUpSellRequest resource, containing the following writable properties:

{
    "language": "string",
    "products": [
        {
            "productRef": "int32",
            "quantity": "int32"
        }
    ]
}

Properties

Name Type Description Additional
language string

Languages list (use ISO 3166-1-alpha-2 format). This method accepts one language or list of languages separated with a comma. Example: EN,FR,PT

products[] array

List of products with product refs and quantities

products[].productRef int32

The product reference

products[].quantity int32

The product quantity

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

GetCrossUpSellResponse
401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

500 Internal Server Error

Failure

Example

{
    "language": "EN,FR,PT"
}

Explore this API

request

request

Request Content-Type
secret

Access secret

Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!