# Create or update a spec product assignment

Endpoint: POST /specs/productassignments
Version: 1.0.457.36910
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2 scopes: FullAccess, ProductAdmin

## Request fields (application/json):

  - `SpecID` (string)

  - `ProductID` (string)

  - `DefaultValue` (string)
    When defined, overrides the DefaultValue set on the spec for this product only.

  - `DefaultOptionID` (string)
    When defined, overrides the DefaultOptionID set on the spec for this product only.

## Response 4XX:

  - `4XX` (unknown)
    Expected errors range from 400-409. Anything in the 5XX range indicates a server issue and should be reported to support.

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: 404

  - `ErrorCode` (string)
    Example: NotFoundError

  - `Message` (string)
    Example: Object not found

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}

