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

# Reorder a payment term

> Moves a term within the workspace list — the order the default terms are copied onto orders in.



## OpenAPI

````yaml /openapi.yaml post /payment_terms/reorder
openapi: 3.0.1
info:
  title: GetSpecs REST API
  description: REST API documentation for GetSpecs.
  version: 1.0.0
servers:
  - url: /v1
  - url: https://demo-api.getspecs.io/v1
security: []
paths:
  /payment_terms/reorder:
    post:
      tags:
        - PaymentTerm
      summary: Reorder a payment term
      description: >-
        Moves a term within the workspace list — the order the default terms are
        copied onto orders in.
      operationId: payment_terms#reorder
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/requestBodyPaymentTermReorder'
        required: true
      responses:
        '204':
          description: No Content
        '422':
          description: Unprocessable Entity
      security:
        - apiKey: []
          workspaceId: []
components:
  schemas:
    requestBodyPaymentTermReorder:
      type: object
      properties:
        id:
          type: integer
        position:
          type: integer
      required:
        - id
        - position
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header
    workspaceId:
      type: apiKey
      name: X-Workspace-ID
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.