---
title: "Create supplier sharing setting"
method: POST
path: "/supplier_sharing_settings"
tags: ["SupplierSharingSetting"]
---

# Create supplier sharing setting

`POST /supplier_sharing_settings`

## Request

- Base URL: `https://r38.coupadev.com/api`
- URL: `https://r38.coupadev.com/api/supplier_sharing_settings`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://r38.coupadev.com/oauth2/authorizations/new`
    - Token URL: `https://r38.coupadev.com/oauth2/token`
  - OAuth 2
    - Client credentials
    - Token URL: `https://r38.coupadev.com/oauth2/access_tokens`
- TypeScript: <https://skmtc.dev/coupa/apis/coupa-api-4/docs/supplier_sharing_settings/post.ts> (a function with typed inputs; its response is checked against the schema)

Create supplier sharing setting

## Query parameters

- `return_object` 'limited' | 'shallow' | 'none'
- `filter` string

## Request body

- SupplierSharingSetting
  - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `id` integer: Coupa Internal ID
  - `sharable-id` integer: ID of an object being shared with child suppliers
  - `sharable-type` string, string(255): TYPE of an object being shared with child suppliers
  - `share-with-children` integer: Flag, indicating if the category is being shared
  - `shared-category` string, string(255): Category or set of fields being shared
  - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

## Response `201`

Created

- SupplierSharingSetting
  - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `id` integer: Coupa Internal ID
  - `sharable-id` integer: ID of an object being shared with child suppliers
  - `sharable-type` string, string(255): TYPE of an object being shared with child suppliers
  - `share-with-children` integer: Flag, indicating if the category is being shared
  - `shared-category` string, string(255): Category or set of fields being shared
  - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/coupa/apis/coupa-api-4.md) - [All operations](https://skmtc.dev/coupa/apis/coupa-api-4/llms.txt) - [OpenAPI document](https://skmtc.dev/coupa/apis/coupa-api-4/revisions/adc09cabd758?raw)
