ApexERPHost

<back to all web services

UpdateGlovoProducts

Requires Authentication
The following routes are available for this service:
POST/Glovo/ProductsForBulkUpdate
UpdateGlovoProducts Parameters:
NameParameterData TypeRequiredDescription
productsbodyList<productsForBulkUpdate>No
productsForBulkUpdate Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
image_urlformstringNo
priceformdoubleNo
availableformboolNo
branch_idformintNo
product_idformint?No
prodpp_idformstringNo
UpdateGlovoProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
TransactionIdformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Glovo/ProductsForBulkUpdate HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	products: 
	[
		{
			id: String,
			name: String,
			image_url: String,
			price: 0,
			available: False,
			branch_id: 0,
			product_id: 0,
			prodpp_id: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	TransactionId: String
}