> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.zippd.com/llms.txt.
> For full documentation content, see https://api-docs.zippd.com/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.zippd.com/_mcp/server.

# Check SKU Serviceability

POST https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability
Content-Type: application/json

Use this endpoint to check if the given SKUs are available at the servicing hub that covers the given postcode.

Reference: https://api-docs.zippd.com/rapid-delivery/post-rapid-delivery-availability

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /rapid-delivery/availability:
    post:
      operationId: post-rapid-delivery-availability
      summary: Check SKU Serviceability
      description: >-
        Use this endpoint to check if the given SKUs are available at the
        servicing hub that covers the given postcode.
      tags:
        - subpackage_rapidDelivery
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Rapid
                  Delivery_post-rapid-delivery-availability_Response_200
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Post-rapid-delivery-availabilityRequestNotFoundError
        '422':
          description: Unprocessable Entity (WebDAV)
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Post-rapid-delivery-availabilityRequestUnprocessableEntityError
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                postcode:
                  type: string
                  description: The postcode the items would be delivered to.
                country_code:
                  type: string
                  description: >-
                    If not provided, the API will try and get this from the
                    `X-User-Timezone`/`X-Timezone` header if available. If the
                    header is not available, the value is discerned from the
                    requesting account.
                items:
                  type: array
                  items:
                    $ref: >-
                      #/components/schemas/RapidDeliveryAvailabilityPostRequestBodyContentApplicationJsonSchemaItemsItems
              required:
                - postcode
                - items
servers:
  - url: https://sandbox-api.deliveryapp.com/api/v1
components:
  schemas:
    RapidDeliveryAvailabilityPostRequestBodyContentApplicationJsonSchemaItemsItems:
      type: object
      properties:
        sku:
          type: string
          description: The SKU of the item.
        qty:
          type: integer
          description: The quantity to check availability for.
      required:
        - sku
        - qty
      title: >-
        RapidDeliveryAvailabilityPostRequestBodyContentApplicationJsonSchemaItemsItems
    RapidDeliveryAvailabilityPostResponsesContentApplicationJsonSchemaUnavailableItemsItems:
      type: object
      properties:
        sku:
          type: string
          description: The SKU of the unavailable item.
        qty:
          type: integer
          description: The quantity of items that are unavailable.
      title: >-
        RapidDeliveryAvailabilityPostResponsesContentApplicationJsonSchemaUnavailableItemsItems
    Rapid Delivery_post-rapid-delivery-availability_Response_200:
      type: object
      properties:
        available:
          type: boolean
          description: '`true` if all items are available, `false` otherwise.'
        message:
          type: string
          description: Provided if one or more SKUs are not available.
        unavailable_items:
          type: array
          items:
            $ref: >-
              #/components/schemas/RapidDeliveryAvailabilityPostResponsesContentApplicationJsonSchemaUnavailableItemsItems
          description: An array containing items that are unavailable.
      title: Rapid Delivery_post-rapid-delivery-availability_Response_200
    Post-rapid-delivery-availabilityRequestNotFoundError:
      type: object
      properties:
        available:
          type: boolean
          default: false
        message:
          type: string
      title: Post-rapid-delivery-availabilityRequestNotFoundError
    Post-rapid-delivery-availabilityRequestUnprocessableEntityError:
      type: object
      properties:
        available:
          type: boolean
          default: false
        message:
          type: string
          description: Details on the issues with the request.
      title: Post-rapid-delivery-availabilityRequestUnprocessableEntityError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ''

```

## SDK Code Examples

```python
import requests

url = "https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability"

payload = {
    "postcode": "90210",
    "items": [
        {
            "sku": "SKU-12345",
            "qty": 3
        }
    ]
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"postcode":"90210","items":[{"sku":"SKU-12345","qty":3}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability"

	payload := strings.NewReader("{\n  \"postcode\": \"90210\",\n  \"items\": [\n    {\n      \"sku\": \"SKU-12345\",\n      \"qty\": 3\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"postcode\": \"90210\",\n  \"items\": [\n    {\n      \"sku\": \"SKU-12345\",\n      \"qty\": 3\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"postcode\": \"90210\",\n  \"items\": [\n    {\n      \"sku\": \"SKU-12345\",\n      \"qty\": 3\n    }\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability', [
  'body' => '{
  "postcode": "90210",
  "items": [
    {
      "sku": "SKU-12345",
      "qty": 3
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"postcode\": \"90210\",\n  \"items\": [\n    {\n      \"sku\": \"SKU-12345\",\n      \"qty\": 3\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "postcode": "90210",
  "items": [
    [
      "sku": "SKU-12345",
      "qty": 3
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.deliveryapp.com/api/v1/rapid-delivery/availability")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```