Skip to content

Product Catalog Hotel Rooms Batch

Updated: Jun 28, 2019

Reading

hotel_rooms_batch

Example

Select language

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDK


GET /v25.0/{product-catalog-id}/hotel_rooms_batch HTTP/1.1  
Host: graph.facebook.com

Try it in Graph API Explorer

If you want to learn how to use the Graph API, read our Using Graph API guide

Parameters

ParameterDescription
handle stringA unique handle of a batch request. required

Fields

Reading from this edge will return a JSON formatted result:

{
"data": [],
"paging": {}
}
data

A list of ProductCatalogHotelRoomsBatch nodes.

paging

For more details about pagination, see the Graph API guide.

Error Codes

Error CodeDescription
100Invalid parameter

Creating

/{product_catalog_id}/hotel_rooms_batch

You can make a POST request to hotel_rooms_batch edge from the following paths:

When posting to this edge, a ProductCatalogHotelRoomsBatch will be created.

Parameters

ParameterDescription
file fileContent of the file to be uploaded
password stringIf used url then the password for the file
standard enum{google}Uploaded file export standard required
update_only booleanDefault value: false If true, rows missing in the file will not be deleted from Facebook database (only new and updated rows are applied)
url URLThe url of the file to be downloaded by our system
username stringIf used url then the username for the file

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.

Struct  {
handles:  List  [string],
}

Error Codes

Error CodeDescription
100Invalid parameter

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About