# Buy from Gap via API

Programmatically purchase from Gap's online store. Automate buying casual apparel and accessories through Zinc's API.

## How the Gap integration works

Gap is an iconic American fashion brand known for casual, classic clothing for men, women, and children. Zinc's Gap integration enables programmatic access to their full online catalog of apparel, denim, activewear, and accessories.

Great for employee uniform programs, corporate gifting platforms, and fashion e-commerce aggregators that want to include affordable, trusted American fashion brands.

Retailer: [gap.com](https://gap.com/) | US Rank: #17 | Free Shipping: $50+

## What you can build with the Gap API

Build with the Gap integration API for search, ordering, tracking, and returns.

### Gap Order Placement API

Place orders with a product URL and shipping address. No checkout flows required — Zinc handles the retailer-side workflow and processes orders asynchronously.

`POST/orders`

```
{
  "products": [
    {
      "url": "https://gap.com/...",
      "quantity": 1
    }
  ],
  "shipping_address": {
    "first_name": "Jane",
    "last_name": "Doe",
    "address_line1": "123 Main St",
    "city": "San Francisco",
    "state": "CA",
    "postal_code": "94105",
    "country": "US",
    "phone_number": "5551234567"
  },
  "max_price": 39900
}
```

### Gap Order Status API

Retrieve order details including item statuses, shipping address, and processing results. Poll to track progress from pending through to delivery.

`GET/orders/{order_id}`

```
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "order_placed",
  "max_price": 39900,
  "items": [
    {
      "url": "https://gap.com/...",
      "quantity": 1,
      "status": "shipped"
    }
  ],
  "tracking_numbers": [
    {
      "carrier": "ups",
      "tracking_number": "1Z999AA10123456784",
      "created_at": "2026-01-15T14:30:00Z"
    }
  ],
  "created_at": "2026-01-15T10:00:00Z"
}
```

### Gap Shipment Tracking

Tracking numbers are automatically extracted from retailer shipping notifications and returned in the order response. Supports UPS, FedEx, USPS, Amazon Logistics, and DHL.

`GET/orders/{order_id}`

```
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "order_placed",
  "tracking_numbers": [
    {
      "carrier": "ups",
      "tracking_number": "1Z999AA10123456784",
      "created_at": "2026-01-15T14:30:00Z"
    },
    {
      "carrier": "amazon",
      "tracking_number": "TBA123456789000",
      "created_at": "2026-01-16T09:15:00Z"
    }
  ]
}
```

### Gap Managed Accounts

Use Zinc-managed checkout accounts or bring your own retailer credentials. Managed accounts handle login, 2FA, and payment automatically — no account setup required.

`GET/managed-accounts`

```
{
  "credentials": [
    {
      "short_id": "zn_acct_a1b2c3d4",
      "email": "orders@example.com",
      "retailer": "gap",
      "has_totp": true,
      "has_forwarding": true
    }
  ],
  "total": 1
}
```

## Gap Integration FAQ

### What can I do with the Gap API integration?

You can search products, place orders, track shipments, and handle returns through a single Zinc API integration for Gap.

### Do I need to build a checkout flow for Gap?

No. Zinc handles the retailer-side ordering workflow so your app can place orders directly via API calls.

### What is the free shipping minimum for Gap?

Gap offers free standard shipping on orders of **$50 or more** before tax. For Rewards members; $25 minimum at Gap Factory. Orders below the minimum will incur a shipping fee. Note that shipping policies can change, so check Gap's website for the most current thresholds.

### Can I get shipment tracking updates for Gap orders?

Yes. You can fetch tracking status through the API and subscribe to webhook events for shipping and delivery updates.

### How do I start using the Gap integration API?

Create an account, get your API key, and follow the Zinc API docs to send your first search or order request.
