Representa a un ítem solicitado en una Orden para un Provider.
{
"id": 1,
"order_id": 1,
"provider_id": 1,
"order_provider_id": 1,
"ordered_good_id": 1,
"is_successful": true,
"completed_at": "2019-02-20 18:24:48",
"provider_fee_e2": 0,
"created_at": "2019-10-25 15:03:05",
"updated_at": "2019-10-25 15:03:05"
}
Servicios permitidos para un Provider
Este endpoint sólo devuelve un array
de good.id
, que corresponde a los goods de tipo
servicio cuyos Skills necesarios son aplicables al Provider.
Método | URI | Cabeceras |
---|---|---|
GET | /companies/{companyId}/providers/{providerId}/allowed-services |
Authorization |
Completes a single service from an Order. Used for service completion.
Método | URI | Cabeceras |
---|---|---|
POST | /companies/{companyId}/order-provider-services/{orderProviderServiceId}/set-completed |
Authorization |
Método | URI | Cabeceras |
---|---|---|
POST | /companies/{companyId}/order-provider-services/{orderProviderServiceId}/unassign |
Authorization |
order
BelongsTo OrderorderProvider
BelongsTo OrderProviderorderedGood
BelongsTo OrderedGoodprovider
BelongsTo Provider