Get recipes by store ID

Summary

  • Source repository: jef-systems/jef-caferimo-backend

  • Source SHA: 7de9959096392a0dd8743cb64935da4612452b1f

  • Source run id: 30215089663

  • Module: Caferimo

  • Lambda function: jef-caferimo-get-recipes-by-store-id

  • HTTP method: GET

  • Invocation mode: sync

  • Package mode: no-package

  • API category: Caferimo Complex Sync No Package GET APIs

  • API path: /caferimo/complex-sync-no-packages/jef-caferimo-get-recipes-by-store-id

  • Endpoint URL: https://api.jefoffice.com/caferimo/complex-sync-no-packages/jef-caferimo-get-recipes-by-store-id

  • Documentation scope: lambda-complex-sync-no-packages

Synchronous Lambda Complex Rule

This API is documented as a synchronous Lambda complex no-package API. API Gateway waits for the Lambda result and returns the final Lambda response.

Description

Returns a paginated product-aware current-state recipe catalog.

Payload Example

{
  "store_id": "11111111-1111-4111-8111-111111111111",
  "max_recipes": 100,
  "include_capacity": false
}

Payload Schema

{
  "root": {
    "type": "M",
    "required": true,
    "additional_properties": false,
    "attributes": {
      "store_id": {
        "type": "S",
        "required": true,
        "format": "uuid"
      },
      "max_recipes": {
        "type": "N",
        "integer": true,
        "required": false,
        "minimum": 1,
        "maximum": 250,
        "default": 100
      },
      "next_key": {
        "type": "S",
        "required": false,
        "max_length": 4096
      },
      "include_capacity": {
        "type": "BOOL",
        "required": false,
        "default": false
      }
    }
  }
}

Response Schema

{
  "root": {
    "type": "M",
    "required": true,
    "additional_properties": true,
    "attributes": {
      "contract_version": {
        "type": "N",
        "required": true,
        "const": 4
      },
      "request_id": {
        "type": "S",
        "required": true
      },
      "operation": {
        "type": "S",
        "required": true
      },
      "status_code": {
        "type": "N",
        "required": true
      },
      "is_accepted": {
        "type": "BOOL",
        "required": true
      },
      "message_type": {
        "type": "S",
        "required": true
      },
      "message": {
        "type": "S",
        "required": true
      },
      "next_action": {
        "type": "S",
        "required": true
      }
    }
  }
}

CMD curl

curl.exe -X GET "https://api.jefoffice.com/caferimo/complex-sync-no-packages/jef-caferimo-get-recipes-by-store-id"

PowerShell curl

curl.exe -X GET "https://api.jefoffice.com/caferimo/complex-sync-no-packages/jef-caferimo-get-recipes-by-store-id"