Create Pricing Policy Attachment

Create a new pricing policy attachment.

post
Path parameters
pricingPolicyIdstringRequired
Body
filestring · binaryOptional
Responses
201

Created

application/json
post
POST /public/v1/catalog/pricing-policies/{pricingPolicyId}/attachments HTTP/1.1
Host: api.s1.today
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67

{
  "attachment": {
    "Name": "text",
    "Description": "text"
  },
  "file": "binary"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-21T22:58:03.731Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-21T22:58:03.731Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "type": "text",
  "size": 1,
  "description": "text",
  "fileName": "text",
  "contentType": "text",
  "status": "text"
}

Last updated

Was this helpful?