> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a ShipDay order's status

> Update a ShipDay order's status. Requires the WRITE_SHIPDAY scope.

Updates the delivery status of the given ShipDay order in the store's connected ShipDay account. The response is passed through from ShipDay's external API. Requires the `WRITE_SHIPDAY` scope.


## OpenAPI

````yaml PUT /shipday/status/{shipdayOrderId}
openapi: 3.1.0
info:
  title: Salesive Apps API — Shipping & Fulfillment
  version: 1.0.0
  description: >-
    Manage shipping options, live courier rates, shipments and labels, and the
    ShipDay delivery integration from an installed third-party app. Every
    endpoint authenticates with an installed-app access token (prefix `app_`)
    and requires a specific OAuth scope. The target store is bound to the token
    server-side from the installation — never send a shop id.
servers:
  - url: https://api.salesive.com/api/v1
    description: Production
security:
  - AppToken: []
paths:
  /shipday/status/{shipdayOrderId}:
    put:
      tags:
        - ShipDay
      summary: Update a ShipDay order's status
      description: >-
        Updates the delivery status of the given ShipDay order in the store's
        connected ShipDay account. The response is passed through from ShipDay's
        external API. Requires the `WRITE_SHIPDAY` scope.
      operationId: updateStatus
      parameters:
        - name: shipdayOrderId
          in: path
          required: true
          description: The ShipDay order id.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  description: >-
                    New delivery status. One of `STARTED`, `PICKED_UP`,
                    `READY_TO_DELIVER`, `ALREADY_DELIVERED`, `INCOMPLETE`,
                    `FAILED_DELIVERY`.
              required:
                - status
            example:
              status: PICKED_UP
      responses:
        '200':
          description: Update a ShipDay order's status.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/EnvelopeBase'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/ShipdayActionResult'
              example:
                status: 200
                success: true
                message: Update a ShipDay order's status
                data:
                  success: true
                  response: Order status updated successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    EnvelopeBase:
      type: object
      description: >-
        Standard Salesive response envelope. The operation-specific payload is
        carried in `data`.
      required:
        - status
        - success
        - message
      properties:
        status:
          type: integer
          description: HTTP status code, echoed in the body.
        success:
          type: boolean
          description: Whether the request succeeded.
        message:
          type: string
          description: Human-readable result message.
    ShipdayActionResult:
      type: object
      description: Result of a ShipDay action, passed through from ShipDay's external API.
      additionalProperties: true
      properties:
        success:
          type: boolean
          description: Whether the action succeeded.
        response:
          type: string
          description: Human-readable result message from ShipDay.
    Envelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          properties:
            data:
              description: Operation-specific payload (object, array, or null).
  responses:
    Unauthorized:
      description: Missing or invalid app access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Envelope'
          example:
            status: 401
            success: false
            message: Authentication required
            data: null
    Forbidden:
      description: The app token is missing the OAuth scope required for this operation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Envelope'
          example:
            status: 403
            success: false
            message: Insufficient scope
            data: null
  securitySchemes:
    AppToken:
      type: http
      scheme: bearer
      description: >-
        Installed-app access token (prefix app_), issued by the OAuth install
        flow. The store is bound to the token server-side — never send a shop
        id.

````