# OF26 - Get the quantity of stock available for an offer. (deprecated)

Description

Quantity return rules: 0: if quantity = 0 or the offer is not available x: quantity available

Endpoint: GET /api/offers/{offer}/quantity

## Path parameters:

  - `offer` (integer, required)
    Offer ID

## Query parameters:

  - `shop_id` (integer)
    Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

## Response 200 fields (application/json):

  - `offer_id` (integer, required)
    Offer identifier

  - `quantity` (integer, required)
    Get the quantity of stock available for this offer.Quantity return rules: 0: if quantity = 0 or the offer is not available x: quantity available


