---
updatedAt: 2026-05-26T22:53:01.000Z
agentTools:
  projectIndex: https://developer.vinoshipper.com/llms.txt
---

# /api/v3/p/profile/crv

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinoshipper API Docs",
    "version": "3.0",
    "x-logo": {
      "url": "/static/img/brand/vinoshipper-logo.svg"
    }
  },
  "servers": [
    {
      "url": "https://vinoshipper.com"
    }
  ],
  "tags": [
    {
      "name": "API Sources",
      "description": "Manage container deposit settings and fees"
    }
  ],
  "paths": {
    "/api/v3/p/profile/crv": {
      "post": {
        "tags": [
          "API Sources"
        ],
        "operationId": "addOrUpdateConfig",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProducerCrvForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Operation successful",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ContainerDepositConfigView"
                }
              }
            }
          },
          "400": {
            "description": "Request has failed validation",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed"
          },
          "403": {
            "description": "Insufficient permission",
            "content": {}
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "required": [
          "code",
          "description"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          }
        }
      },
      "ErrorDetails": {
        "required": [
          "status",
          "type"
        ],
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "enum": [
              "VALIDATION",
              "COMPLIANCE",
              "PAYMENT_FAILURE",
              "SERVER_ERROR",
              "ACCESS_DENIED",
              "CONFLICT"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "ErrorResponse": {
        "required": [
          "error"
        ],
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorDetails"
          }
        }
      },
      "ProducerCrvForm": {
        "required": [
          "customerPays"
        ],
        "type": "object",
        "properties": {
          "customerPays": {
            "type": "boolean"
          },
          "distributorId": {
            "type": "string"
          },
          "manufacturerId": {
            "type": "string"
          }
        }
      },
      "ContainerDepositConfigView": {
        "required": [
          "customerPays",
          "id",
          "isDistributor",
          "isManufacturer",
          "reportedByVinoshipper",
          "stateId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "stateId": {
            "type": "integer",
            "format": "int32"
          },
          "isDistributor": {
            "type": "boolean"
          },
          "isManufacturer": {
            "type": "boolean"
          },
          "distributorId": {
            "type": "string"
          },
          "manufacturerId": {
            "type": "string"
          },
          "customerPays": {
            "type": "boolean"
          },
          "reportedByVinoshipper": {
            "type": "boolean"
          }
        }
      }
    }
  }
}
```