Update a product
1min
PATCH
Authentication
Authorization
Bearer
Path Parameters
productReference
string
*
Header Parameters
X-TokenId
string
X-SessionId
string
X-Version
string
*
Origin
string
Body Parameters
patchRequest
Microsoft.AspNet.JsonPatch.JsonPatchDocument[FictiveGlobal.Api.Rest.Dtos.v1.Patch.Products.ProductPatchModel]
*
value
System.Object
path
string
op
string
from
string
Responses
200
OK
FictiveGlobal.Api.Rest.Dtos.v1.ProductResponse
Description
Response dto for Products.
productReference
string
name
string
description
string
type
string
status
string
productListReferences
string[]
createdDate
string<date-time>
lastUpdatedDate
string<date-time>
productParameters
object
pricing
FictiveGlobal.Api.Rest.Dtos.v1.PricePointResponse[]
images
FictiveGlobal.Api.Rest.Dtos.v1.ImageResponse[]
credits
FictiveGlobal.Api.Rest.Dtos.v1.CreditResponse[]
contractPricing
FictiveGlobal.Api.Rest.Dtos.v1.ProductService[]
400
Bad Request
<br />Product names cannot exceed 128 characters
<br />Product descriptions cannot exceed 850 characters
<br />Invalid product type provided, please provide either Digital or Physical
<br />Invalid status provided. Please provide a status of Active or Inactive
<br />Invalid PATCH operation
<br />Invalid PATCH path
<br />Invalid Contract type provided
401
Not Authorized
404
Not Found
<br />Product cannot be found
<br />Product list cannot be found
<br />Product list is not associated to the product
<br />Contract cannot be found
409
Conflict
<br />A product already exists with the name provided
<br />Contract {ContractReference} is already associated with product
<br />Duplicate Contract reference provided
500
Internal Server Error
Updated 02 Nov 2023
Did this page help you?