GXSIOAPI referenceV2
Location aliases
GET
bearerheader
AuthorizationBearer <token>An organization API key (GXS_O-...) created in GraphxServer.io settings.
productViewId*numberId de la vista de producto
locationId*numberSupplier location id (the supplierLocationid of GetMappedSupplierLocationsForProduct)
application/json- response
data*array<>curl -X GET 'https://dev.api.graphxserver.io/api/v2/product-views/251872/locations/25508/aliases'{ "data": [ { "id": 10, "name": "Centered on Front", "isDefault": false } ]}POST
bearerheader
AuthorizationBearer <token>An organization API key (GXS_O-...) created in GraphxServer.io settings.
productViewId*numberId de la vista de producto
locationId*numberSupplier location id (the supplierLocationid of GetMappedSupplierLocationsForProduct)
application/json- body
name*stringLength
length <= 255isDefault?booleanDefault
falseapplication/json- response
id*numbername*stringisDefault*booleancurl -X POST 'https://dev.api.graphxserver.io/api/v2/product-views/251872/locations/25508/aliases' \ -H 'Content-Type: application/json' \ -d '{ "name": "Centered on Front"}'{ "id": 10, "name": "Centered on Front", "isDefault": false}PATCH
bearerheader
AuthorizationBearer <token>An organization API key (GXS_O-...) created in GraphxServer.io settings.
id*numberapplication/json- body
name?stringLength
length <= 255isDefault?booleanapplication/json- response
id*numbername*stringisDefault*booleancurl -X PATCH 'https://dev.api.graphxserver.io/api/v2/location-aliases/10' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": 10, "name": "Centered on Front", "isDefault": false}DELETE
bearerheader
AuthorizationBearer <token>An organization API key (GXS_O-...) created in GraphxServer.io settings.
id*numbercurl -X DELETE 'https://dev.api.graphxserver.io/api/v2/location-aliases/10'Empty
PATCH
bearerheader
AuthorizationBearer <token>An organization API key (GXS_O-...) created in GraphxServer.io settings.
application/json- body
aliases*array<>application/json- response
data*array<>curl -X PATCH 'https://dev.api.graphxserver.io/api/v2/location-aliases' \ -H 'Content-Type: application/json' \ -d '{ "aliases": [ { "id": 10 } ]}'{ "data": [ { "id": 10, "name": "Centered on Front", "isDefault": false } ]}