Saltar al contenido principal
POST
/
v1
/
items
/
skus
/
{removeReference}
/
merge
/
{remainReference}
Merges two SKUs that are the same, the first one being deleted
curl --request POST \
  --url https://api.bold-factory.com/v1/items/skus/{removeReference}/merge/{remainReference} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "externalReference": "<string>",
  "code": "<string>",
  "name": "<string>",
  "description": "<string>",
  "validationErrors": "<string>",
  "productId": "<string>",
  "imageFileId": "<string>",
  "image": {
    "id": "<string>",
    "readOnlyUri": "<string>"
  },
  "product": {
    "id": "<string>",
    "externalReference": "<string>",
    "code": "<string>",
    "name": "<string>",
    "description": "<string>",
    "deletedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "deletedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<string>",
  "unit": {
    "id": "<string>",
    "code": "<string>",
    "name": "<string>"
  },
  "displayDecimalPlaces": 123
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

removeReference
string
requerido
remainReference
string
requerido

Respuesta

OK

id
string
requerido
externalReference
null | string
requerido
code
string
requerido
name
string
requerido
description
null | string
requerido
status
enum<string>
requerido
Opciones disponibles:
Invalid,
Valid
validationErrors
null | string
requerido
productId
null | string
requerido
imageFileId
null | string
requerido
image
object
requerido
product
object
requerido
deletedAt
null | string<date-time>
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido
unit
object
requerido
displayDecimalPlaces
integer<int32>
requerido