Version 1.0.0 (latest)

SKU Availability

Version 1.0.0
download iconDownload spec

Endpoint

POST
https://serverRoot/api/orderingMobility/v1/skuAvailability

SKU Availability requests check whether a given product or service, identified using a SKU (Stock Keeping Unit), is available for order. Store SKU Availability Request returns a response that shows the availability of the requested SKU.

arrowRequest

Header Parameters

            Body Parameters

            Responses

            arrowBody

            application/json

            REQUEST

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            curl --request POST \
                 --url https://serverroot/api/orderingMobility/v1/skuAvailability \
                 --header 'Accept: string' \
                 --header 'Content-Length: integer' \
                 --header 'X-ATT-ClientId: string' \
                 --header 'X-ATT-ConversationId: string' \
                 --header 'X-ATT-MessageId: string' \
                 --header 'content-type: application/json' \
                 --data '
            {
              "skuAvailabilityRequest": {
                "accountGroupId": "a98765432109",
                "skuId": "sku1234567890"
              }
            }
            '

            RESPONSE

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            {
              "skuAvailabilityResponse": {
                "skuId": "sku1234567890",
                "skuDescription": "Apple iPhone 15 Plus (256GB Black)",
                "availableQuantity": 1234,
                "skuAvailability": true,
                "shipmentCommitDays": {
                  "fromDays": 3,
                  "toDays": 5
                }
              }
            }