---
updatedAt: 2026-10-22T09:05:16.000Z
agentTools:
  projectIndex: https://dev.hostfully.com/llms.txt
---

# Modify pricing period

Creates/updates or removes a pricing period for a property. Supports SET (create/update) and REMOVE operations

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Hostfully API",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.hostfully.com/"
    },
    "version": "v3.0.1"
  },
  "externalDocs": {
    "description": "Hostfully Documentation",
    "url": "https://dev.hostfully.com/v3.0/reference"
  },
  "servers": [
    {
      "url": "https://sandbox-api.hostfully.com"
    }
  ],
  "security": [
    {
      "JWT-Authentication": []
    },
    {
      "Agency-API-key": []
    }
  ],
  "paths": {
    "/api/v3.3/pricing-periods": {
      "post": {
        "tags": [
          "Pricing Periods"
        ],
        "summary": "Modify pricing period",
        "description": "Creates/updates or removes a pricing period for a property. Supports SET (create/update) and REMOVE operations",
        "operationId": "post_8",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PricingPeriodModificationApi3Dto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PricingPeriodApiResponseWrapper"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PricingPeriodModificationApi3Dto": {
        "required": [
          "operation",
          "pricingPeriod"
        ],
        "type": "object",
        "properties": {
          "operation": {
            "type": "string",
            "enum": [
              "REMOVE",
              "SET"
            ]
          },
          "pricingPeriod": {
            "$ref": "#/components/schemas/PricingPeriodSavingApi3Dto"
          }
        }
      },
      "PricingPeriodSavingApi3Dto": {
        "required": [
          "date",
          "propertyUid"
        ],
        "type": "object",
        "properties": {
          "propertyUid": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "price": {
            "type": "number"
          },
          "minimumStay": {
            "type": "integer",
            "format": "int32"
          },
          "availableForCheckIn": {
            "type": "boolean"
          },
          "availableForCheckOut": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "PricingPeriodApi3Dto": {
        "type": "object",
        "properties": {
          "propertyUid": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "price": {
            "type": "number"
          },
          "minimumStay": {
            "type": "integer",
            "format": "int32"
          },
          "availableForCheckIn": {
            "type": "boolean"
          },
          "availableForCheckOut": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "PricingPeriodApiResponseWrapper": {
        "type": "object",
        "properties": {
          "pricingPeriod": {
            "$ref": "#/components/schemas/PricingPeriodApi3Dto"
          }
        }
      }
    },
    "securitySchemes": {
      "JWT-Authentication": {
        "type": "apiKey",
        "description": "OAuth Access Token",
        "name": "Authorization",
        "in": "header"
      },
      "Agency-API-key": {
        "type": "apiKey",
        "description": "API Key",
        "name": "X-HOSTFULLY-APIKEY",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```