201Successful Response
Schema: SuccessEnvelope_ConvertProductToVariantResponse_
successbooleanmessagestringcodestringdataConvertProductToVariantResponse
/api/v1/inventory/products/{id}/convert-to-variantMove a product's variants under another product and archive the source.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idstring · uuidrequiredSchema: ConvertProductToVariantRequest
target_product_idstringrequiredUUID of the product that will become the parent.
Schema: SuccessEnvelope_ConvertProductToVariantResponse_
successbooleanmessagestringcodestringdataConvertProductToVariantResponse