Tyson Foods Orders API

Order management operations

OpenAPI Specification

tyson-foods-orders-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Tyson Foods EDI Integration Orders API
  description: Tyson Foods provides EDI and API integration capabilities for trading partners and B2B supply chain connections, supporting order management and logistics operations.
  version: 1.0.0
  contact:
    name: Tyson Foods
    url: https://www.tysonfoods.com/
servers:
- url: https://api.tysonfoods.com
  description: Production
tags:
- name: Orders
  description: Order management operations
paths:
  /orders:
    get:
      operationId: getOrders
      summary: Get Orders
      description: Retrieve a list of orders for a trading partner.
      tags:
      - Orders
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderList'
  /orders/{orderId}:
    get:
      operationId: getOrderById
      summary: Get Order by ID
      description: Retrieve a specific order.
      tags:
      - Orders
      parameters:
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
components:
  schemas:
    OrderList:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: '#/components/schemas/Order'
    Order:
      type: object
      properties:
        id:
          type: string
        partnerId:
          type: string
        status:
          type: string
        items:
          type: array
          items:
            type: object
            properties:
              productId:
                type: string
              quantity:
                type: integer
        createdAt:
          type: string
          format: date-time