Product

Usage: Insert / update a product, pricing and media in the OneSource database

JSON Schema URL: https://management-api.dc-onesource.com/en/US/product/schema.json

HTTP Method: POST

Header Parameters Required
x-api-key yes
x-api-password yes

Sample POST Request (Reference JSON schema link above to build full object)

POST https://management-api.dc-onesource.com/en/US/product
x-api-key: YOUR_API_KEY_HERE
x-api-password: YOUR_API_PASSWORD_HERE

{
    "descriptions": ["description"],
    "hasBlank": true,
    "hasDecorated": true,
    "id": "P1",
    "isSellable": true,
    "name": "Product 1",
    "partGroups": [
        {
            "description": "group description",
            "id": 1,
            "isRequired": true,
            "parts": [
                {
                    "id": "part-id",
                    "isDefaultPart": true,
                    "locationIds": [],
                    "prices": [
                        {
                            "currency": "USD",
                            "fobId": "1",
                            "listPrice": 1,
                            "minQuantity": 1,
                            "netPrice": 0.5,
                            "uom": "EA"
                        }
                    ],
                    "ratio": 1
                }
            ]
        }
    ]
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.